Esempio n. 1
0
 static XhtmlOptions()
 {
     Defaults = new XhtmlOptions();
     DefaultsWithoutStyleElement = new XhtmlOptions();
     DefaultsWithoutStyleElement.EmitStyleTag = false;
 }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XhtmlFormatter"/> class with the specified options.
        /// </summary>
        public XhtmlFormatter(XhtmlOptions options)
        {
            ArgumentValidator.ThrowIfNull(options, "options");

            this.m_options = options;
        }
Esempio n. 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XhtmlFormatter"/> class with the specified options.
        /// </summary>
        public XhtmlFormatter(XhtmlOptions options)
        {
            ArgumentValidator.ThrowIfNull(options, "options");

            this.m_options = options;
        }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XhtmlFormatter" /> using default options.
 /// </summary>
 public XhtmlFormatter()
 {
     this.m_options = new XhtmlOptions();
 }
Esempio n. 5
0
 static XhtmlOptions()
 {
     Defaults = new XhtmlOptions();
     DefaultsWithoutStyleElement = new XhtmlOptions();
     DefaultsWithoutStyleElement.EmitStyleTag = false;
 }