Exemple #1
0
        public HtmlDTDType DTDType;                  // Document Type Definition
        //public bool Head;

        //public HtmlTag(string TagName, HtmlTagType TagType, HtmlBoundType StartTagType, HtmlBoundType EndTagType, bool Empty, bool Deprecated, HtmlDTDType DTDType)
        //{
        //    this.TagName = TagName;
        //    this.TagType = TagType;
        //    this.StartBoundType = StartTagType;
        //    this.EndBoundType = EndTagType;
        //    this.Empty = Empty;
        //    this.Deprecated = Deprecated;
        //    this.DTDType = DTDType;
        //    this.TagCategory = HtmlTagCategory.NoCategory;
        //}

        public HtmlTag(string TagName, HtmlTagType TagType, HtmlBoundType StartTagType, HtmlBoundType EndTagType, bool Empty, bool Deprecated, HtmlDTDType DTDType,
                       HtmlTagCategory TagCategory = HtmlTagCategory.NoCategory)
        {
            this.TagName        = TagName;
            this.TagType        = TagType;
            this.StartBoundType = StartTagType;
            this.EndBoundType   = EndTagType;
            this.Empty          = Empty;
            this.Deprecated     = Deprecated;
            this.DTDType        = DTDType;
            this.TagCategory    = TagCategory;
        }
Exemple #2
0
        public HtmlDTDType DTDType;                  // Document Type Definition
        //public bool Head;

        //public HtmlTag(string TagName, HtmlTagType TagType, HtmlBoundType StartTagType, HtmlBoundType EndTagType, bool Empty, bool Deprecated, HtmlDTDType DTDType)
        //{
        //    this.TagName = TagName;
        //    this.TagType = TagType;
        //    this.StartBoundType = StartTagType;
        //    this.EndBoundType = EndTagType;
        //    this.Empty = Empty;
        //    this.Deprecated = Deprecated;
        //    this.DTDType = DTDType;
        //    this.TagCategory = HtmlTagCategory.NoCategory;
        //}

        public HtmlTag(string TagName, HtmlTagType TagType, HtmlBoundType StartTagType, HtmlBoundType EndTagType, bool Empty, bool Deprecated, HtmlDTDType DTDType,
            HtmlTagCategory TagCategory = HtmlTagCategory.NoCategory)
        {
            this.TagName = TagName;
            this.TagType = TagType;
            this.StartBoundType = StartTagType;
            this.EndBoundType = EndTagType;
            this.Empty = Empty;
            this.Deprecated = Deprecated;
            this.DTDType = DTDType;
            this.TagCategory = TagCategory;
        }