/// <summary> /// Expand property. /// </summary> /// <param name="propertyDefinition"></param> public void Expand(ExtendedPropertyDefinition extendedPropertyDefinition) { extendedPropertyDefinition.ThrowIfNull(nameof(extendedPropertyDefinition)); if (null == this.expandablePropertySet) { this.expandablePropertySet = new ExpandablePropertySet(); } this.expandablePropertySet.Add(extendedPropertyDefinition); }
/// <summary> /// Expand property. /// </summary> /// <param name="propertyDefinition"></param> public void Expand(PropertyDefinition propertyDefinition) { this.ValidatePropertyDefinition(propertyDefinition); if (null == this.expandablePropertySet) { this.expandablePropertySet = new ExpandablePropertySet(); } this.expandablePropertySet.Add(propertyDefinition); }