/// <summary> /// Initializes a new instance of the <see cref="FolderService"/> class. /// </summary> /// <param name="fieldService">The field service.</param> /// <param name="folderRepository">The folder repository.</param> public FolderService( IFieldService fieldService, IFolderRepository folderRepository) { this.folderRepository = folderRepository; this.fieldService = fieldService; }
public SurvayTypeService(IUnitOfWork unitOfWork, IMapper mapper, IFieldService service) { _unitOfWork = unitOfWork; _log = LogManager.GetLogger(typeof(SurvayService)); _mapper = mapper; _fieldService = service; }
public DynamicFormController(IFormService formService, IUnitOfWork uow, IFieldService fieldService, IValueService valueService) { _formService = formService; _uow = uow; _fieldService = fieldService; _valueService = valueService; }
public AccountController(IUserService userService, IProfileService profileService, IFieldService fieldService, ISkillService skillService) { _userService = userService; _profileService = profileService; _fieldService = fieldService; _skillService = skillService; }
public SubCategoryApp(ISubCategoryService service, IFieldService fieldService, IFieldOptionService fieldOptionService) : base(service) { _service = service; _fieldService = fieldService; _fieldOptionService = fieldOptionService; }
public FormsController( IFormFieldService formFieldService, IFieldService fieldService) { _formFieldService = formFieldService; _fieldService = fieldService; }
public ProductEditorCommandController( // base dependencies IContentDefinitionService contentDefinitionService, IProductService productService, IReadOnlyArticleService articleService, EditorSchemaService editorSchemaService, EditorDataService editorDataService, EditorPartialContentService editorPartialContentService, EditorLocaleService editorLocaleService, // self dependencies IFieldService fieldService, IProductUpdateService productUpdateService, CloneBatchAction cloneBatchAction, DeleteAction deleteAction, PublishAction publishAction) : base(contentDefinitionService, productService, articleService, editorSchemaService, editorDataService, editorPartialContentService, editorLocaleService) { _fieldService = fieldService; _productUpdateService = productUpdateService; _cloneBatchAction = cloneBatchAction; _deleteAction = deleteAction; _publishAction = publishAction; }
public RoleController( IAppUserService AppUserService, IMenuService MenuService, IRoleService RoleService, IPermissionService PermissionService, IOrganizationService OrganizationService, IProductService ProductService, IFieldService FieldService, IPermissionOperatorService PermissionOperatorService, IRequestStateService RequestStateService, IStatusService StatusService, ICustomerGroupingService CustomerGroupingService, IKnowledgeGroupService KnowledgeGroupService, ICurrentContext CurrentContext , IHttpContextAccessor httpContextAccessor, DataContext _DataContext ) : base(httpContextAccessor, _DataContext) { this.AppUserService = AppUserService; this.MenuService = MenuService; this.RoleService = RoleService; this.PermissionService = PermissionService; this.OrganizationService = OrganizationService; this.ProductService = ProductService; this.FieldService = FieldService; this.StatusService = StatusService; this.PermissionOperatorService = PermissionOperatorService; this.RequestStateService = RequestStateService; this.CustomerGroupingService = CustomerGroupingService; this.KnowledgeGroupService = KnowledgeGroupService; this.CurrentContext = CurrentContext; }
public MarketingCloneAction(CloneBatchAction cloneService, IArticleService articleService, ISettingsService settingsService, IFieldService fieldService) { _cloneService = cloneService; _articleService = articleService; _settingsService = settingsService; _fieldService = fieldService; }
public PestDetectedHandler(IRecommendationService recommendationService, IFieldService fieldService, IMessageService messageService, IPestService pestService) { _recommendationService = recommendationService; _fieldService = fieldService; _messageService = messageService; _pestService = pestService; }
public void SetUp() { moq = new MockRepository(MockBehavior.Strict); mockShapeService = moq.Create <IShapeService>(); sut = new FieldService(mockShapeService.Object); }
public FieldController(IFieldService fieldService, IMapper mapper, IImageService imageService, IRabbitMqBus bus) { _fieldService = fieldService; _mapper = mapper; _imageService = imageService; _bus = bus; }
public LandController(ILandService landService, IFieldService fieldService, IHttpContextAccessor httpContextAccessor) { _landService = landService; _fieldService = fieldService; _httpContextAccessor = httpContextAccessor; userId = _httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; }
public void BindServiceCalls(string strStart, string strEnd) { DataTable dtCurrentServiceCalls = new DataTable(); try { IFieldService objCashDesk = FieldServiceBusinessObject.CreateInstance(); lstCurrentCalls.DataContext = null; dtCurrentServiceCalls = objCashDesk.GetCurrentServiceCalls(SiteCode, strStart, strEnd); if (dtCurrentServiceCalls.Rows.Count > 0) { //lstCurrentCalls.Visibility = Visibility.Visible; lstCurrentCalls.DataContext = dtCurrentServiceCalls.DefaultView; } else { lstCurrentCalls.DataContext = null; MessageBox.ShowBox("MessageID62"); //lstCurrentCalls.Visibility = Visibility.Hidden; } } catch (Exception ex) { ExceptionManager.Publish(ex); MessageBox.ShowBox("MessageID63"); } finally { dtCurrentServiceCalls.Dispose(); } }
public FieldsController(INotify notify, IMapper mapper, IFieldService fieldService, IUser user) : base(notify, user) { _mapper = mapper; _fieldService = fieldService; }
public KnowledgeController(IFieldService fieldService, ISkillService skillService, IRatingService ratingService, IUserService userService) { _fieldService = fieldService; _skillService = skillService; _ratingService = ratingService; _userService = userService; }
public Context(IFieldService fieldService, IContentService contentService, bool treatClassifiersAsBackwardFields) { this.treatClassifiersAsBackwardFields = treatClassifiersAsBackwardFields; this.fieldService = fieldService; this.contentService = contentService; cache = new Dictionary <string, object>(); visited = new List <Content>(); }
public RestAPIService(CustomerAPIOptions customerAPIOptions, IHttpContextAccessor session, IFieldService fieldService) { _customerAPIOptions = customerAPIOptions; _session = session; _fieldService = fieldService; }
public PhaseController(IUserService userService, IFieldService fieldService, IPhaseEmployeeService phaseEmployeeService, IPhaseService phaseService, IProcessService processService) { this.userService = userService; this.fieldService = fieldService; this.phaseService = phaseService; this.processService = processService; this.phaseEmployeeService = phaseEmployeeService; }
public FieldController(IFieldService fieldService, ILandService landService, IHttpContextAccessor htppContextAccessor, IAgriculturalClassService agriculturalClassService) { _fieldService = fieldService; _landService = landService; _agriculturalClassService = agriculturalClassService; _httpContextAccessor = htppContextAccessor; userId = _httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; }
public FormPluginService( IFieldService fieldService, IContentService contentService, UmbracoHelper umbracoHelper) { this.fieldService = fieldService; this.contentService = contentService; this.umbracoHelper = umbracoHelper; }
public NotificationController(IDocumentAssigneeIntermediateService idais, UserManager <ApplicationUser> um, IFieldService ifs, ISubmittedDocumentService isds) { _SubmittedDocService = isds; _UserManager = um; _FieldService = ifs; _DocAssigneeService = idais; }
public void Configure(IContainer container) { IFormService formService = container.GetInstance <IFormService>(); IFieldService fieldService = container.GetInstance <IFieldService>(); Mapper.CreateMap <LeBlenderValue, FormPicker>() .ForMember(dest => dest.Form, opt => { opt.MapFrom(source => formService.GetByNodeId(fieldService.GetLeBlenderValueFieldValue(source, "form") != null ? Convert.ToInt32(fieldService.GetLeBlenderValueFieldValue(source, "form")) : 0)); }) .ForMember(dest => dest.FormHeader, opt => { opt.MapFrom(source => fieldService.GetLeBlenderValueFieldValue(source, "formContent")); }) ; }
public ProjetoUsuarioAtividadeService(IWorkItemCoreWereRepository coreWereRepository, IWorkItemCustomLatestRepository customLatestRepository, IWorkItemService workItemService, IConstantService constantService, IFieldService fieldService) { _coreWereRepository = coreWereRepository; _customLatestRepository = customLatestRepository; _workItemService = workItemService; _constantService = constantService; _fieldService = fieldService; }
public void Configure(IContainer container) { IFieldService service = container.GetInstance <IFieldService>(); Mapper.CreateMap <LeBlenderValue, Field>() .ForMember(dest => dest.Name, opt => { opt.MapFrom(source => service.GetLeBlenderValueFieldValue(source, "name")); }) .ForMember(dest => dest.Mandatory, opt => { opt.MapFrom(source => service.GetValueAsBoolean(service.GetLeBlenderValueFieldValue(source, "mandatory"))); }) .ForMember(dest => dest.Options, opt => { opt.MapFrom(source => service.GetArchetypePrevalues(source, "prevalues")); }) .ForMember(dest => dest.Placeholder, opt => { opt.MapFrom(source => service.GetLeBlenderValueFieldValue(source, "placeholder")); }) .ForMember(dest => dest.SelectFileText, opt => { opt.MapFrom(source => service.GetLeBlenderValueFieldValue(source, "selectFileText")); }); }
public OrdersController(IUnitOfWork uow, IFormService formService, IFieldService fieldService, IValueService valueService, IOrderService orderService, IPriceService priceService,IProductService productService) { _uow = uow; _formService = formService; _fieldService = fieldService; _valueService = valueService; _orderService = orderService; _priceService = priceService; _productService = productService; }
public TestHub(IFieldService fieldService) { _fieldService = fieldService; _timer = new Timer(2000); _timer.Elapsed += (s, e) => { Clients.All.SendCoreAsync("OnFieldsChanged", new[] { _fieldService.GetFields() }); }; _timer.Start(); }
public FieldController(IConnectionManagementService Connection, IMetadataService Metadata, IFieldService Field, IPropertyService Properties, IKeyGenerates KeyId, IPaginationService SetPagination, IBranchService Branch, IStateService State) { _Connection = Connection; _Field = Field; _Properties = Properties; _KeyId = KeyId; _SetPagination = SetPagination; _Metadata = Metadata; _Branch = Branch; _State = State; }
public ProductDeserializer(IFieldService fieldService, IServiceFactory serviceFactory, ICacheItemWatcher cacheItemWatcher, IContextStorage contextStorage, IConnectionProvider connectionProvider) { _fieldService = fieldService; _contentService = serviceFactory.GetContentService(); _cacheItemWatcher = cacheItemWatcher; _contextStorage = contextStorage; _customer = connectionProvider.GetCustomer(); }
public ToolsController(IConnectionManagementService Connection, IMetadataService Metadata, IBranchService Branch, IStateService State, IKeyGenerates KeyId, IMessage Message, IProcessHistory Log, IFieldService Field, IPropertyService Property) { _Connection = Connection; _Metadata = Metadata; _Branch = Branch; _State = State; _KeyId = KeyId; _Message = Message; _Log = Log; _Field = Field; _Property = Property; }
public EngineService( IEngineFactory engineFactory, IFieldService fieldService, IShapeService shapeService, IInputService inputService ) { this.engineFactory = engineFactory; this.fieldService = fieldService; this.shapeService = shapeService; this.inputService = inputService; }
public SetupModule(IProjectService projectService, ISiteService siteService, IFieldService fieldService, IMappingEngine mappingEngine) : base("data/setup", mappingEngine, UserRole.Admin) { this.projectService = projectService; this.siteService = siteService; this.fieldService = fieldService; Get["/sites"] = SearchSites; Put["/sites"] = UpdateSites; Put["/syncProjectSummaries"] = SyncProjectSummaries; Put["/syncFields"] = SyncFields; }
public FieldController(IFieldService fieldService, IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _fieldService = fieldService; }
public RatingController(IRatingService ratingService, IFieldService fieldService) { this.ratingService = ratingService; this.fieldService = fieldService; }
public FieldController(IFieldService fieldService, IComplexService complexService) { this.fieldService = fieldService; this.complexService = complexService; }
public SyncSiteAndFieldData(IProjectService projectService, IFieldService fieldService) { this.projectService = projectService; this.fieldService = fieldService; }
public FieldController(IFieldService service) { Service = service; }
public HomeController(IUserService userService, IComplexService complexService, IFieldService fieldService) { this.userService = userService; this.complexService = complexService; this.fieldService = fieldService; }