public EventController(IEventService Event, ICategoryService category, IDepartmentService department, ILocationService location, ITargetGroupService targetGroup) { EventService = Event; CategoryService = category; DepartmentService = department; LocationService = location; TargetGroupService = targetGroup; ViewBag.DDL = new Func <string, object, dynamic>(fullDropDownList); }
public HomeController(IEventService Event, ICategoryService category, IDepartmentService department, ILocationService location, ITargetGroupService targetGroup, ISafeerService safeerService) { EventService = Event; CategoryService = category; DepartmentService = department; LocationService = location; TargetGroupService = targetGroup; SafeerService = safeerService; }
public TargetGroupEvaluatorTask( SmartDbContext db, IRuleService ruleService, ITargetGroupService targetGroupService, ICacheManager cache) { _db = db; _ruleService = ruleService; _targetGroupService = targetGroupService; _cache = cache; }
public static IPagedList <Customer> ProcessFilter( this ITargetGroupService targetGroupService, FilterExpression filter, int pageIndex = 0, int pageSize = int.MaxValue) { Guard.NotNull(targetGroupService, nameof(targetGroupService)); Guard.NotNull(filter, nameof(filter)); return(targetGroupService.ProcessFilter(new[] { filter }, LogicalRuleOperator.And, pageIndex, pageSize)); }
public CustomerRolesAssignmentsTask( IRepository <CustomerRole> customerRoleRepository, IRepository <CustomerRoleMapping> customerRoleMappingRepository, IRuleFactory ruleFactory, ITargetGroupService targetGroupService, ICacheManager cacheManager) { _customerRoleRepository = customerRoleRepository; _customerRoleMappingRepository = customerRoleMappingRepository; _ruleFactory = ruleFactory; _targetGroupService = targetGroupService; _cacheManager = cacheManager; }
public RuleController( IRuleFactory ruleFactory, IRuleStorage ruleStorage, ITargetGroupService targetGroupService, IRuleTemplateSelector ruleTemplateSelector, Func <RuleScope, IRuleProvider> ruleProvider, IEnumerable <IRuleOptionsProvider> ruleOptionsProviders, AdminAreaSettings adminAreaSettings) { _ruleFactory = ruleFactory; _ruleStorage = ruleStorage; _targetGroupService = targetGroupService; _ruleTemplateSelector = ruleTemplateSelector; _ruleProvider = ruleProvider; _ruleOptionsProviders = ruleOptionsProviders; _adminAreaSettings = adminAreaSettings; }
public DeploymentJobExecutionService( IDeploymentJobService deploymentJobService, IDeploymentJobStepService deploymentJobStepService, IDeploymentJobStepTargetService deploymentJobStepTargetService, IDeploymentPlanStepService deploymentPlanStepService, ITargetGroupService targetGroupService, ITargetGroupEnvironmentService targetGroupEnvironmentService, IProjectTargetService projectTargetService, ITargetService targetService, ICredentialService credentialService, IScriptService scriptService, IScriptExecutionService scriptExecutionService, IProjectEnvironmentService projectEnvironmentService, IVariableService variableService) { if (deploymentJobService == null) throw new ArgumentNullException("deploymentJobService"); _deploymentJobService = deploymentJobService; if (deploymentJobStepService == null) throw new ArgumentNullException("deploymentJobStepService"); _deploymentJobStepService = deploymentJobStepService; if (deploymentJobStepTargetService == null) throw new ArgumentNullException("deploymentJobStepTargetService"); _deploymentJobStepTargetService = deploymentJobStepTargetService; if (deploymentPlanStepService == null) throw new ArgumentNullException("deploymentPlanStepService"); _deploymentPlanStepService = deploymentPlanStepService; if (targetGroupService == null) throw new ArgumentNullException("targetGroupService"); _targetGroupService = targetGroupService; if (targetGroupEnvironmentService == null) throw new ArgumentNullException("targetGroupEnvironmentService"); _targetGroupEnvironmentService = targetGroupEnvironmentService; if (projectTargetService == null) throw new ArgumentNullException("projectTargetService"); _projectTargetService = projectTargetService; if (targetService == null) throw new ArgumentNullException("targetService"); _targetService = targetService; if (credentialService == null) throw new ArgumentNullException("credentialService"); _credentialService = credentialService; if (scriptService == null) throw new ArgumentNullException("scriptService"); _scriptService = scriptService; if (scriptExecutionService == null) throw new ArgumentNullException("scriptExecutionService"); _scriptExecutionService = scriptExecutionService; if (projectEnvironmentService == null) throw new ArgumentNullException("projectEnvironmentService"); _projectEnvironmentService = projectEnvironmentService; if (variableService == null) throw new ArgumentNullException("variableService"); _variableService = variableService; }
public DeploymentJobExecutionService( IDeploymentJobService deploymentJobService, IDeploymentJobStepService deploymentJobStepService, IDeploymentJobStepTargetService deploymentJobStepTargetService, IDeploymentPlanStepService deploymentPlanStepService, ITargetGroupService targetGroupService, ITargetGroupEnvironmentService targetGroupEnvironmentService, IProjectTargetService projectTargetService, ITargetService targetService, ICredentialService credentialService, IScriptService scriptService, IScriptExecutionService scriptExecutionService, IProjectEnvironmentService projectEnvironmentService, IVariableService variableService) { if (deploymentJobService == null) { throw new ArgumentNullException("deploymentJobService"); } _deploymentJobService = deploymentJobService; if (deploymentJobStepService == null) { throw new ArgumentNullException("deploymentJobStepService"); } _deploymentJobStepService = deploymentJobStepService; if (deploymentJobStepTargetService == null) { throw new ArgumentNullException("deploymentJobStepTargetService"); } _deploymentJobStepTargetService = deploymentJobStepTargetService; if (deploymentPlanStepService == null) { throw new ArgumentNullException("deploymentPlanStepService"); } _deploymentPlanStepService = deploymentPlanStepService; if (targetGroupService == null) { throw new ArgumentNullException("targetGroupService"); } _targetGroupService = targetGroupService; if (targetGroupEnvironmentService == null) { throw new ArgumentNullException("targetGroupEnvironmentService"); } _targetGroupEnvironmentService = targetGroupEnvironmentService; if (projectTargetService == null) { throw new ArgumentNullException("projectTargetService"); } _projectTargetService = projectTargetService; if (targetService == null) { throw new ArgumentNullException("targetService"); } _targetService = targetService; if (credentialService == null) { throw new ArgumentNullException("credentialService"); } _credentialService = credentialService; if (scriptService == null) { throw new ArgumentNullException("scriptService"); } _scriptService = scriptService; if (scriptExecutionService == null) { throw new ArgumentNullException("scriptExecutionService"); } _scriptExecutionService = scriptExecutionService; if (projectEnvironmentService == null) { throw new ArgumentNullException("projectEnvironmentService"); } _projectEnvironmentService = projectEnvironmentService; if (variableService == null) { throw new ArgumentNullException("variableService"); } _variableService = variableService; }
public TargetGroupController(ITargetGroupService TargetGroup) { TargetGroupService = TargetGroup; }
public TargetGroupWCFService(ITargetGroupService targetGroupService, IMapper mapper) { _TargetGroupService = targetGroupService; _mapper = mapper; }