public AttributeValueSuggestionProvider(
     IAttributeCache attributeCache,
     AttributeNameListener listener)
 {
     _attributeCache = attributeCache;
     _listener       = listener;
 }
Example #2
0
 public AttributesComponent(
     IAttributeManager attributes,
     IEntityManager entities,
     IAttributeCache attributeCache,
     IQueryHistory queryHistory)
 {
     _attributes     = attributes;
     _entityManager  = entities;
     _attributeCache = attributeCache;
     _queryHistory   = queryHistory;
 }
Example #3
0
        public AttributesPresenter(
            IAttributeView view,
            IAttributeManager attrManager,
            IEntityManager entityManager,
            IAttributeCache attributeCache,
            IQueryHistory queryHistory)
        {
            View            = view;
            _entityManager  = entityManager;
            _attributeCache = attributeCache;
            _queryHistory   = queryHistory;
            _attributes     = attrManager;

            // register event handlers
            _queryHistory.BeforeQueryExecuted   += QueryHistory_BeforeQueryExecuted;
            _attributes.Selection.BeforeChanged += Selection_BeforeChanged;
            _attributes.Selection.Changed       += Selection_Changed;

            SubscribeTo(View, "View");
            UpdateAttributes();
        }
 public AttributeValueSuggestionProviderFactory(IAttributeCache attributeCache)
 {
     _attributeCache = attributeCache;
 }
 public AttributeNameSuggestionProvider(IAttributeCache attributeCache)
 {
     _attributeCache = attributeCache;
 }