Пример #1
0
 public void SetObject(int propertyIndex, object value)
 {
     if (m_objEntries == null)
     {
         m_objEntries = new Dictionary <int, object>();
     }
     if (value is IContainedObject)
     {
         ((IContainedObject)value).Parent = Owner;
     }
     m_objEntries[propertyIndex] = value;
     if (m_owner != null)
     {
         m_owner.OnSetObject(propertyIndex);
     }
 }