Пример #1
0
        /// <summary>
        /// Returns a collection containing this element and child elements.
        /// </summary>
        public static IEnumerable <ITreeNode <TNode> > SelfAndElements <TNode>(this ITreeNode <TNode> adapter)
        {
            yield return(adapter);

            adapter.Elements();
        }