GetLoadedPropertyDefinitions method

List<PropertyDefinitionBase?> GetLoadedPropertyDefinitions()
Gets the collection of loaded property definitions.

Implementation

List<PropertyDefinitionBase?> GetLoadedPropertyDefinitions() {
  List<PropertyDefinitionBase?> propDefs = <PropertyDefinitionBase?>[];
  for (PropertyDefinition propDef in this.PropertyBag.Properties.keys) {
    propDefs.add(propDef);
  }

  if (this.GetExtendedProperties() != null) {
    for (ExtendedProperty extProp in this.GetExtendedProperties()!) {
      propDefs.add(extProp.PropertyDefinition);
    }
  }

  return propDefs;
}