Exemplo n.º 1
0
        public StrataListPropertyAdapter(StrataPropertyListAccess <TStrataElementValue> referenceAccess, ConvertAccessToOutput factory)
        {
            this.Access         = referenceAccess;
            m_referenceElements = referenceAccess.Elements;
            ((INotifyCollectionChanged)m_referenceElements).CollectionChanged += this.ListAccessElementsCache_OnCollectionChanged;

            m_sb          = referenceAccess.ODAM.SB;
            m_factory     = factory;
            this.Elements = new ReadOnlyObservableCollection <TAdaptedElementValue>(m_elements);
            this.Reset();
        }
Exemplo n.º 2
0
 public StrataPropertyAdapter(StrataPropertyValueAccess <TStrataValue> access, ConvertAccessToOutput factory)
 {
     this.Access = access;
     m_factory   = factory;
     this.Reset();
 }
Exemplo n.º 3
0
 public StrataPropertyAdapter(Stratabase sb, Guid itemId, string propertyName, ConvertAccessToOutput factory)
     : this(sb.GeneratePropertyAccess <TStrataValue>(itemId, propertyName), factory)
 {
 }