예제 #1
0
 /// <summary>
 /// Initializes a new instance of <see cref="HtmlDocumentType"/>
 /// with HTML _version string and DTD URL.
 /// </summary>
 /// <param name="major">
 /// The major version number.
 /// </param>
 /// <param name="minor">
 /// The minor version number.
 /// </param>
 /// <param name="dtd">
 /// The HTML DTD subtype.
 /// </param>
 /// <seealso cref="HtmlDtdType"/>
 public HtmlDocumentType(short major, short minor, HtmlDtdType dtd) :
     base()
 {
     _major = major;
     _minor = minor;
     _dtd   = dtd;
 }
예제 #2
0
 public Ver(short major, short minor, string format, HtmlDtdType dt, string dtd)
 {
     this.major  = major;
     this.minor  = minor;
     this.format = format;
     this.dt     = dt;
     this.dtd    = dtd;
 }