Пример #1
0
 public void RemoveRelationValue(int relationID, PropertyContainerData container)
 {
     if (relations.ContainsKey(relationID))
     {
         var list = (List <PropertyContainerData>)relations[relationID];
         list.Remove(container);
     }
 }
Пример #2
0
 public void RemoveAttributeValue(int attributeID, PropertyContainerData container)
 {
     if (attributes.ContainsKey(attributeID))
     {
         var list = (List <PropertyContainerData>)attributes[attributeID];
         list.Remove(container);
     }
 }
Пример #3
0
 public void SetProperties(PropertyContainerData properties)
 {
     Properties = properties;
 }