Method | Description | |
---|---|---|
FilterLiteral ( string source, int start, int end, string &replacement ) : bool |
Optionally finds any URLs and wraps them with a hyperlink
|
|
HyperlinkFilter ( ) : System |
Ctor
|
|
HyperlinkFilter ( bool autoLink ) : System |
Ctor
|
|
HyperlinkFilter ( int maxWordLength ) : System |
Ctor
|
|
HyperlinkFilter ( int maxWordLength, bool autoLink ) : System |
Ctor
|
Method | Description | |
---|---|---|
FilterUrl ( string source, int start, int end, string &replacement ) : bool |
Allows filtering of which URLs are allowed.
|
Method | Description | |
---|---|---|
DetectUrl ( string source, int start, int end, int &index, int &length ) : bool |
Finds the location of URLs within the literal string.
|
public FilterLiteral ( string source, int start, int end, string &replacement ) : bool | ||
source | string | original string |
start | int | starting index inclusive |
end | int | ending index exclusive |
replacement | string | a replacement string |
return | bool |
protected FilterUrl ( string source, int start, int end, string &replacement ) : bool | ||
source | string | |
start | int | |
end | int | |
replacement | string | the value to replace with |
return | bool |
public HyperlinkFilter ( bool autoLink ) : System | ||
autoLink | bool | |
return | System |
public HyperlinkFilter ( int maxWordLength ) : System | ||
maxWordLength | int | |
return | System |
public HyperlinkFilter ( int maxWordLength, bool autoLink ) : System | ||
maxWordLength | int | |
autoLink | bool | |
return | System |