Validate method

void Validate()
Validate property bag instance.

Implementation

void Validate() {
  for (PropertyDefinition propertyDefinition in _addedProperties) {
    ValidatePropertyValue(propertyDefinition);
  }

  for (PropertyDefinition propertyDefinition in _modifiedProperties) {
    ValidatePropertyValue(propertyDefinition);
  }
}