private IViewModelNode CreateProperty(object obj)
        {
            var context   = new ViewModelContext();
            var contextUI = new ViewModelContext();

            context.ChildrenPropertyEnumerators.Add(new ChildrenPropertyInfoEnumerator());
            // add some more here...

            var testModel = new ViewModelNode("Root", obj);

            var view = ObservableViewModelNode.CreateObservableViewModel(contextUI, testModel);

            ObservableViewModelNode.Refresh(contextUI, context, new ViewModelState());

            return(view);
        }
        private IViewModelNode CreateSampleTree()
        {
            MyDateTime now = MyDateTime.FromDateTime(DateTime.Now);

            var context   = new ViewModelContext(new ViewModelGlobalContext());
            var contextUI = new ViewModelContext(new ViewModelGlobalContext());

            context.ChildrenPropertyEnumerators.Add(new ChildrenPropertyInfoEnumerator());
            // add some more here...

            var testModel = new ViewModelNode("Root", now);

            var view = ObservableViewModelNode.CreateObservableViewModel(contextUI, testModel);

            ObservableViewModelNode.Refresh(contextUI, context, new ViewModelState());

            return(view);
        }