PropertyChanged method

void PropertyChanged(
  1. ComplexProperty complexProperty
)
Handles a change event for the specified property. The property that changes.

Implementation

void PropertyChanged(ComplexProperty complexProperty) {
  for (MapEntry<PropertyDefinition, Object> keyValuePair
      in this._properties.entries) {
    if (keyValuePair.value == complexProperty) {
      if (!this._deletedProperties.containsKey(keyValuePair.key)) {
        AddToChangeList(keyValuePair.key, this._modifiedProperties);
        this.Changed();
      }
    }
  }
}