예제 #1
0
 static XhtmlOptions()
 {
     Defaults = new XhtmlOptions();
     DefaultsWithoutStyleElement = new XhtmlOptions();
     DefaultsWithoutStyleElement.EmitStyleTag = false;
 }
예제 #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;
        }
예제 #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;
        }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XhtmlFormatter" /> using default options.
 /// </summary>
 public XhtmlFormatter()
 {
     this.m_options = new XhtmlOptions();
 }
예제 #5
0
 static XhtmlOptions()
 {
     Defaults = new XhtmlOptions();
     DefaultsWithoutStyleElement = new XhtmlOptions();
     DefaultsWithoutStyleElement.EmitStyleTag = false;
 }