Example #1
0
        public override void AddChildModel(IModel model)
        {
            var node = new RequiredItemTreeNode()
            {
                Model = model
            };

            Nodes.Add(node);
        }
Example #2
0
        public override ModelTreeNode AddItem()
        {
            var item = new RequiredItem();
            var node = new RequiredItemTreeNode()
            {
                Model = item
            };

            Nodes.Add(node);

            return(node);
        }