/// <summary>
 /// Initializes a new instance of the <see cref="TestQueueExecutableService" /> class.
 /// </summary>
 /// <param name="table">The table test data.</param>
 /// <param name="suiteService">The suite service.</param>
 /// <param name="testQueueService">The test queue service.</param>
 /// <param name="mapperFactory">The mapper factory.</param>
 /// <param name="schedulerService">The scheduler service.</param>
 /// <param name="browserService">The browser service.</param>
 /// <param name="actionService">The action service.</param>
 /// <param name="testDataSharedTestDataMapService">The test data shared test data map service.</param>
 /// <param name="sharedTestDataService">The shared test data service.</param>
 /// <param name="apiConncetionService">The API conncetion service.</param>
 /// <param name="schedulerHistoryService">The scheduler history service.</param>
 /// <param name="environmentService">The environment service.</param>
 /// <param name="reportLinkDataService">The report data service.</param>
 public TestQueueExecutableService(
     IRepository <TblTestData> table,
     ISuiteService suiteService,
     ITestQueueService testQueueService,
     IMapperFactory mapperFactory,
     ISchedulerService schedulerService,
     IBrowserService browserService,
     IActionsService actionService,
     ITestDataSharedTestDataMapService testDataSharedTestDataMapService,
     ISharedTestDataService sharedTestDataService,
     IApiConnectionService apiConncetionService,
     ISchedulerHistoryService schedulerHistoryService,
     IEnvironmentService environmentService,
     IReportLinkDataService reportLinkDataService)
 {
     this.table            = table;
     this.suiteService     = suiteService;
     this.mapperFactory    = mapperFactory;
     this.schedulerService = schedulerService;
     this.testQueueService = testQueueService;
     this.browserService   = browserService;
     this.actionService    = actionService;
     this.testDataSharedTestDataMapService = testDataSharedTestDataMapService;
     this.sharedTestDataService            = sharedTestDataService;
     this.apiConncetionService             = apiConncetionService;
     this.schedulerHistoryService          = schedulerHistoryService;
     this.environmentService    = environmentService;
     this.reportLinkDataService = reportLinkDataService;
 }
Exemple #2
0
 private void InvalidateServices()
 {
     _userService    = new UserService(_user);
     _searchService  = new SearchService(_user);
     _actionService  = new ActionsService(_user);
     _hashtagService = new HashtagService(_user);
     _mediaService   = new MediaService(_user);
 }
 public GroupUsersService(IGroupUsersRepository repository, IGroupsRepository _groupsRepository, IAuthorizationService _authorizationService,
                          IActionsService _actionService)
 {
     groupUsersRepository = repository;
     groupsRepository     = _groupsRepository;
     authorizationService = _authorizationService;
     actionService        = _actionService;
 }
 public TransactionsService(ITransactionsRepository repository, IGroupsRepository _groupsRepository,
                            IAuthorizationService _authorizationService, UserManager <User> _usersManager, IActionsService _actionService)
 {
     transactionsRepository = repository;
     groupsRepository       = _groupsRepository;
     authorizationService   = _authorizationService;
     usersManager           = _usersManager;
     actionService          = _actionService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestQueueExecutableService" /> class.
 /// </summary>
 /// <param name="table">The table test data.</param>
 /// <param name="suiteService">The suite service.</param>
 /// <param name="testQueueService">The test queue service.</param>
 /// <param name="mapperFactory">The mapper factory.</param>
 /// <param name="schedulerService">The scheduler service.</param>
 /// <param name="browserService">The browser service.</param>
 /// <param name="actionService">The action service.</param>
 public TestQueueExecutableService(IRepository <TblTestData> table, ISuiteService suiteService, ITestQueueService testQueueService, IMapperFactory mapperFactory, ISchedulerService schedulerService, IBrowserService browserService, IActionsService actionService)
 {
     this.table            = table;
     this.suiteService     = suiteService;
     this.mapperFactory    = mapperFactory;
     this.schedulerService = schedulerService;
     this.testQueueService = testQueueService;
     this.browserService   = browserService;
     this.actionService    = actionService;
 }
 public HomeController(
     IJobService jobService,
     IActionsService actionsResposit,
     IStaffService staffService
     )
 {
     _jobService     = jobService ?? throw new ArgumentNullException(nameof(jobService));
     _actionsService = actionsResposit ?? throw new ArgumentNullException(nameof(actionsResposit));
     _staffService   = staffService ?? throw new ArgumentNullException(nameof(staffService));
 }
 public ActionsController(IActionsService service, IAuthorizationService _authorizationService)
 {
     actionsService       = service;
     authorizationService = _authorizationService;
 }
Exemple #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ActionController"/> class.
 /// </summary>
 /// <param name="loggerService">The logger service.</param>
 /// <param name="actionsService">The actions service.</param>
 public ActionController(ILoggerService loggerService, IActionsService actionsService)
     : base(loggerService)
 {
     this.actionsService = actionsService;
 }
 public ActionsController(IActionsService actionsService)
 {
     _actionsService = actionsService;
 }
Exemple #10
0
 public ActionsController(IActionsService ActionsService)
 {
     _ActionsService = ActionsService ??
                       throw new ArgumentNullException(nameof(ActionsService));
 }
Exemple #11
0
 public ActionsController(IActionsService actionsService, ICaseActionsService caseActionsService)
 {
     this.actionsService     = actionsService;
     this.caseActionsService = caseActionsService;
 }
Exemple #12
0
 public ActionValidator(IActionsService actionsService)
 {
     _actionsService = actionsService;
 }
 public ContactValidator(ICustomFieldsService customFieldsService, IActionsService actionsService)
 {
     _customFieldsService = customFieldsService;
     _actionsService      = actionsService;
 }
Exemple #14
0
 /// <summary>
 ///     Ctor
 /// </summary>
 public ActionsController(IActionsService actionsService, IActionValidator actionValidator)
 {
     _actionsService  = actionsService;
     _actionValidator = actionValidator;
 }
Exemple #15
0
 public ActionsController(IServiceProvider provider, IActionsService actionsService)
     : base(provider)
 {
     _actionsService = actionsService;
 }