// add the property under the root properties
        public bool AddProperty(PropGroupTempl propertyParent, PropTemplBase property)
        {
            // no parent provided, its root
            if (propertyParent == null)
            {
                PropertyRoot.AddProperty(property);
                return(true);
            }

            propertyParent.AddProperty(property);
            return(true);
        }
Exemplo n.º 2
0
        // Rules instanciation of childs
        // TODO:

        public void AddProperty(PropTemplBase property)
        {
            ListProperty.Add(property);
        }