예제 #1
0
        internal StrictOrphanList(TreeOrphan orphan)
        {
            if (orphan == null)
            {
                throw new ArgumentNullException(nameof(orphan));
            }

            children          = new ArrayElement <TreeOrphan> [1];
            children[0].Value = orphan;
        }
예제 #2
0
 internal OrphanList(TreeOrphan orphan) : this(new StrictOrphanList(orphan))
 {
 }