Constructor DefaultPassageFormatter
DefaultPassageFormatter()
Creates a new DefaultPassageFormatter with the default tags.
Declaration
public DefaultPassageFormatter()
DefaultPassageFormatter(String, String, String, Boolean)
Creates a new DefaultPassageFormatter with custom tags.
Declaration
public DefaultPassageFormatter(string preTag, string postTag, string ellipsis, bool escape)
Parameters
Type | Name | Description |
---|---|---|
System.String | preTag | text which should appear before a highlighted term. |
System.String | postTag | text which should appear after a highlighted term. |
System.String | ellipsis | text which should be used to connect two unconnected passages. |
System.Boolean | escape | true if text should be html-escaped |