Esempio n. 1
0
        public SampleTasksCollection AddCollection(string label)
        {
            var childNode = new SampleTasksCollection
            {
                NodeLabel = label
            };

            Add(childNode);

            return(childNode);
        }
Esempio n. 2
0
        public SampleTasksCollection AddCollection(string label, string description)
        {
            var childNode = new SampleTasksCollection
            {
                NodeLabel       = label,
                NodeDescription = description
            };

            Add(childNode);

            return(childNode);
        }