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(); }
public StrataPropertyAdapter(StrataPropertyValueAccess <TStrataValue> access, ConvertAccessToOutput factory) { this.Access = access; m_factory = factory; this.Reset(); }
public StrataPropertyAdapter(Stratabase sb, Guid itemId, string propertyName, ConvertAccessToOutput factory) : this(sb.GeneratePropertyAccess <TStrataValue>(itemId, propertyName), factory) { }