public SampleEntityLabelsService( IEntityLabelManager <EntityLabel> entityLabelManager, ILabelStore <LabelBase> labelStore, IEntityStore <Entity> entityStore, IContextFacade contextFacade, IFeatureFacade featureFacade, IDbHelper dbHelper) { _entityLabelManager = entityLabelManager; _featureFacade = featureFacade; _contextFacade = contextFacade; _entityStore = entityStore; _labelStore = labelStore; _dbHelper = dbHelper; _random = new Random(); }
public QuestionViewProvider( IEntityLabelManager <EntityLabel> entityLabelManager, IEntityLabelStore <EntityLabel> entityLabelStore, IHttpContextAccessor httpContextAccessor, IEntityStore <Question> entityStore, ILabelStore <Label> labelStore, IStringLocalizer stringLocalize, IFeatureFacade featureFacade, IContextFacade contextFacade, ICacheManager cacheManager) { _request = httpContextAccessor.HttpContext.Request; _entityLabelManager = entityLabelManager; _entityLabelStore = entityLabelStore; _featureFacade = featureFacade; _contextFacade = contextFacade; _cacheManager = cacheManager; _entityStore = entityStore; _labelStore = labelStore; T = stringLocalize; }