Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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);
        }