Example #1
0
        private XLObjectViewModel(XLObject xlobj, XLObjectViewModel parent)
        {
            _xlobject = xlobj;
            Parent    = parent;

            Children = new ReadOnlyCollection <XLObjectViewModel>(
                (from child in xlobj.Children
                 select new XLObjectViewModel(child, this))
                .ToList());
        }
Example #2
0
 public XLObjectViewModel(XLObject xlobj)
     : this(xlobj, null)
 {
 }