private ItemData EnsureItemData()
        {
            if (m_itemData == null)
            {
                var item = new RecordItem();
                item.Type = new ItemType(m_typeID);

                m_itemData = new ItemData(m_typedData);
                item.Data = m_itemData;
            }

            return m_itemData;
        }
Esempio n. 2
0
 public RecordItem(string typeID, IItemDataTyped typedData)
     : this()
 {
     Type = new ItemType(typeID);
     Data = new ItemData(typedData);
 }
Esempio n. 3
0
        internal ItemData EnsureData()
        {
            if (m_data == null)
            {
                m_data = new ItemData();
            }

            return m_data;
        }
 internal ItemProxy(string typeID, IItemDataTyped typedData)
 {
     m_typeID = typeID;
     m_typedData = typedData;
     m_itemData = null;
 }