Ejemplo n.º 1
0
        internal PocoElementNavigator Clone()
        {
            var result = new PocoElementNavigator();

            result._parent     = this._parent;
            result._arrayIndex = this._arrayIndex;
            result._index      = this._index;
            result._children   = this._children;

            return(result);
        }
Ejemplo n.º 2
0
        public PocoNavigator(Base model)
        {
            if (model == null)
            {
                throw Error.ArgumentNull(nameof(model));
            }

            //_current = new PocoElementNavigator(model.TypeName, model);
            _parentLocation   = "";
            _parentShortPath  = "";
            _parentCommonPath = "";

            _nav = new PocoElementNavigator(model);
        }