AddToChangeList static method

void AddToChangeList(
  1. PropertyDefinition propertyDefinition,
  2. List<PropertyDefinition> changeList
)
Adds the specified property to the specified change list if it is not already present. The property to add to the change list. The change list to add the property to.

Implementation

static void AddToChangeList(PropertyDefinition propertyDefinition,
    List<PropertyDefinition> changeList) {
  if (!changeList.contains(propertyDefinition)) {
    changeList.add(propertyDefinition);
  }
}