public EntityLabelManager( IEntityLabelStore <EntityLabel> entityLabelStore, IBroker broker) { _entityLabelStore = entityLabelStore; _broker = broker; }
// Updates label metadata whenever a entity & label relationship is added or removed. public EntityLabelSubscriber( IEntityLabelStore <EntityLabel> entityLabelStore, ILabelManager <LabelBase> labelManager, ILabelStore <LabelBase> labelStore, IBroker broker) { _entityLabelStore = entityLabelStore; _labelManager = labelManager; _labelStore = labelStore; _broker = broker; }
public DocListItemViewAdapter( IEntityLabelStore <EntityLabel> entityLabelStore, IActionContextAccessor actionContextAccessor, ILabelStore <Label> labelStore, IFeatureFacade featureFacade) { _actionContextAccessor = actionContextAccessor; _entityLabelStore = entityLabelStore; _featureFacade = featureFacade; _labelStore = labelStore; ViewName = "DocListItem"; }
public ArticleListItemViewAdapter( IEntityLabelStore <EntityLabel> entityLabelStore, IActionContextAccessor actionContextAccessor, IEntityService <Article> entityService, ILabelStore <Label> labelStore, IFeatureFacade featureFacade) { _actionContextAccessor = actionContextAccessor; _entityLabelStore = entityLabelStore; _entityService = entityService; _featureFacade = featureFacade; _labelStore = labelStore; ViewName = "ArticleListItem"; }
public TopicListItemViewAdapter( ILabelStore <Label> labelStore, IFeatureFacade featureFacade, IEntityService <Topic> entityService, IEntityLabelStore <EntityLabel> entityLabelStore, IHttpContextAccessor httpContextAccessor, IActionContextAccessor actionContextAccessor, IAuthorizationService authorizationService) { _labelStore = labelStore; _featureFacade = featureFacade; _entityService = entityService; _entityLabelStore = entityLabelStore; _httpContextAccessor = httpContextAccessor; _actionContextAccessor = actionContextAccessor; _authorizationService = authorizationService; ViewName = "TopicListItem"; }
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; }
public EntitySubscriber( IUserNotificationTypeDefaults userNotificationTypeDefaults, IDummyClaimsPrincipalFactory <User> claimsPrincipalFactory, INotificationManager <TEntity> notificationManager, IFollowStore <Follows.Models.Follow> followStore, IEntityLabelStore <EntityLabel> entityLabelStore, IAuthorizationService authorizationService, IDeferredTaskManager deferredTaskManager, IPlatoUserStore <User> platoUserStore, IEntityStore <TEntity> entityStore, IContextFacade contextFacade, IBroker broker) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _claimsPrincipalFactory = claimsPrincipalFactory; _authorizationService = authorizationService; _deferredTaskManager = deferredTaskManager; _notificationManager = notificationManager; _entityLabelStore = entityLabelStore; _platoUserStore = platoUserStore; _followStore = followStore; _entityStore = entityStore; _broker = broker; }