System.Xml.Xsl.XsltOld.BeginEvent.BeginEvent C# (CSharp) Метод

BeginEvent() публичный Метод

public BeginEvent ( Compiler compiler ) : System
compiler Compiler
Результат System
        public BeginEvent(Compiler compiler) {
            NavigatorInput input = compiler.Input;
            Debug.Assert(input != null);
            Debug.Assert(input.NodeType != XPathNodeType.Namespace);
            this.nodeType     = input.NodeType;
            this.namespaceUri = input.NamespaceURI;
            this.name         = input.LocalName;
            this.prefix       = input.Prefix;
            this.empty        = input.IsEmptyTag;
            if (nodeType ==  XPathNodeType.Element) {
                this.htmlProps = HtmlElementProps.GetProps(this.name);
            }
            else if (nodeType ==  XPathNodeType.Attribute) {
                this.htmlProps = HtmlAttributeProps.GetProps(this.name);
            }
        }