Method | Description | |
---|---|---|
GetRelativePath ( string fullPath, string basePath ) : string |
Returns a relative path based on a base path. Examples: <<ul>> <<li>> filename.txt <<li>> subDir\filename.txt <<li>> ..\filename.txt <<li>> ..\..\filename.txt <</ul>>
|
|
HtmlEncode ( object value ) : string |
HtmlEncodes any value by calling ToString() first
|
|
HtmlEncode ( string text ) : string |
HTML-encodes a string and returns the encoded string.
|
public static GetRelativePath ( string fullPath, string basePath ) : string | ||
fullPath | string | /// The full path from which to generate a relative path /// |
basePath | string | /// The base path based on which the relative path is based on /// |
return | string |
public static HtmlEncode ( object value ) : string | ||
value | object | |
return | string |
public static HtmlEncode ( string text ) : string | ||
text | string | The text string to encode. |
return | string |