Exemple #1
0
        internal XPathModuleInfo(Type type)
        {
            this._Type = type;
             this.moduleAttr = Attribute.GetCustomAttribute(this.Type, typeof(XPathModuleAttribute))
            as XPathModuleAttribute;

             if (this.moduleAttr != null) {
            this.Predeclare = this.moduleAttr.Predeclare;
             }
        }
Exemple #2
0
        internal XPathModuleInfo(Type type)
        {
            this._Type      = type;
            this.moduleAttr = Attribute.GetCustomAttribute(this.Type, typeof(XPathModuleAttribute))
                              as XPathModuleAttribute;

            if (this.moduleAttr != null)
            {
                this.Predeclare = this.moduleAttr.Predeclare;
            }
        }