System.Xml.Schema.ForwardAxis.ForwardAxis C# (CSharp) Méthode

ForwardAxis() public méthode

public ForwardAxis ( DoubleLinkAxis axis, bool isdesorself ) : System.Xml.XPath
axis DoubleLinkAxis
isdesorself bool
Résultat System.Xml.XPath
        public ForwardAxis (DoubleLinkAxis axis, bool isdesorself) {
            this.isDss = isdesorself;
            this.isAttribute = Asttree.IsAttribute (axis);
            this.topNode = axis;
            this.rootNode = axis;
            while ( this.rootNode.Input != null ) {
                this.rootNode = (DoubleLinkAxis)(this.rootNode.Input);
            }
            // better to calculate it out, since it's used so often, and if the top is self then the whole tree is self
            this.isSelfAxis = Asttree.IsSelf (this.topNode);
        }
    }
ForwardAxis