ClearChangeLog method

void ClearChangeLog()
Clears the bag's change log.

Implementation

void ClearChangeLog() {
  this._deletedProperties.clear();
  this._modifiedProperties.clear();
  this._addedProperties.clear();

  for (MapEntry<PropertyDefinition, Object> keyValuePair
      in this._properties.entries) {
    if (keyValuePair.value is ComplexProperty) {
      ComplexProperty complexProperty = keyValuePair.value as ComplexProperty;

      complexProperty.ClearChangeLog();
    }
  }

  this._isDirty = false;
}