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