Property | Type | Description | |
---|---|---|---|
FormatAndRewriteUrl | string | ||
FormatPattern | string | ||
GetLinkFunction | string | ||
GetProjectLinkFunction | string | ||
GetSelfFunction | string | ||
ProcessHrefAttribute | |||
ProcessSageBaseHrefElement | |||
ProcessSageLinkElement | |||
ProcessSageUrlElement |
Method | Description | |
---|---|---|
GetUrl ( |
Resolves a link The attributes on the element that will be taken into account:
|
|
GetUrl ( string linkName, |
Generates the specified link, using the name/value pairs from the specified query to format it.
|
|
GetUrl ( string linkName, string query, string hashString = null, bool qualify = false ) : string |
Generates the specified link, using the name/value pairs from the specified query to format it.
|
|
PrefixUrl ( string url ) : string |
Returns the specified url with the current ServerPrefix (if any) pre-pended to it.
|
|
UrlGenerator ( |
Initializes a new instance of the UrlGenerator class, using the specified context.
|
Method | Description | |
---|---|---|
FormatAndRewriteUrl ( string linkName, |
Formats and rewrites the link pattern with the specified linkName.
|
|
FormatPattern ( string pattern, |
||
GetLinkFunction ( |
||
GetProjectLinkFunction ( |
||
GetSelfFunction ( |
||
ProcessHrefAttribute ( |
||
ProcessSageBaseHrefElement ( |
||
ProcessSageLinkElement ( |
||
ProcessSageUrlElement ( |
public GetUrl ( |
||
linkElement | The element that contains attributes that define the link to resolve. | |
return | string |
public GetUrl ( string linkName, |
||
linkName | string | The name of the link to get. |
query | The query to use for formatting the link. | |
hashString | string | The browser hash string to append to the end of the URL. |
qualify | bool | If set to |
return | string |
public GetUrl ( string linkName, string query, string hashString = null, bool qualify = false ) : string | ||
linkName | string | The name of the link to generate. |
query | string | The query to use for formatting the link. |
hashString | string | The browser hash string to append to the end of the URL. |
qualify | bool | If set to |
return | string |
public PrefixUrl ( string url ) : string | ||
url | string | The URL to process. |
return | string |
public UrlGenerator ( |
||
context | The current |
|
return | System |