コード例 #1
0
 public AttributeValueSuggestionProvider(
     IAttributeCache attributeCache,
     AttributeNameListener listener)
 {
     _attributeCache = attributeCache;
     _listener       = listener;
 }
コード例 #2
0
 public AttributesComponent(
     IAttributeManager attributes,
     IEntityManager entities,
     IAttributeCache attributeCache,
     IQueryHistory queryHistory)
 {
     _attributes     = attributes;
     _entityManager  = entities;
     _attributeCache = attributeCache;
     _queryHistory   = queryHistory;
 }
コード例 #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();
        }
コード例 #4
0
 public AttributeValueSuggestionProviderFactory(IAttributeCache attributeCache)
 {
     _attributeCache = attributeCache;
 }
コード例 #5
0
 public AttributeNameSuggestionProvider(IAttributeCache attributeCache)
 {
     _attributeCache = attributeCache;
 }