Method | Description | |
---|---|---|
ExpandUrl ( string path ) : string |
Returns an absolute URL, fully expanded to a path within the current application.
|
|
GetProjectVariable ( string name, string locale = null ) : string |
Gets the value of the project variable with the specified name.
|
|
MapPath ( string path ) : string |
Maps the supplied relative path to the actual, physical location of the file. If the specified path is an absolute path, no translation will be done. |
|
Parse ( |
||
ProcessNode ( |
Recursively processes all nodes in the specified node, applying any registered text and node handlers on the way, and returns the result.
|
|
ProcessText ( string text ) : string |
Replaces any function or variable expression with the result of invoking it's corresponding handler function.
|
|
SageContext ( ControllerContext controllerContext, |
Initializes a new instance of the SageContext class, using the specified ControllerContext.
|
|
SageContext ( |
Initializes a new instance of the SageContext class, using the specified HttpContext.
|
|
SageContext ( System.Web.HttpContextBase httpContext, string>.Func |
Initializes a new instance of the SageContext class, using the specified HttpContextBase and pathMapper.
|
|
SageContext ( System.Web.HttpContextBase httpContext, |
Initializes a new instance of the SageContext class, using the specified HttpContextBase.
|
|
SageContext ( System.Web.HttpContextBase httpContext, string categoryName, string>.Func |
Initializes a new instance of the SageContext class, using the specified httpContext, categoryName and pathMapper.
|
|
SageContext ( System.Web.HttpContextBase httpContext, string categoryName, |
Initializes a new instance of the SageContext class, using the specified httpContext and categoryName.
|
|
SageContext ( System.Web.HttpContextBase httpContext, string categoryName, string localeName, |
Initializes a new instance of the SageContext class, using the specified httpContext and categoryName.
|
|
SageContext ( |
Initializes a new instance of the SageContext class, using an existing context instance.
|
|
SageContext ( |
Initializes a new instance of the SageContext class, using an existing context instance.
|
|
ToXml ( |
Gets an XmlElement that contains information about this context.
|
Method | Description | |
---|---|---|
Copy ( ) : |
Returns a copy of this instance.
|
|
Copy ( string category ) : |
Returns a copy of this instance, setting its category to the specified category.
|
|
Copy ( string category, string locale ) : |
Returns a copy of this instance, setting its category and locale to the specified values.
|
|
CreateAddressNode ( |
||
GetContextProperty ( |
||
GetDataParam ( |
||
GetFormParam ( |
||
GetQueryParam ( |
||
GetRequestParam ( |
||
GetSessionParam ( |
||
GetVariable ( |
||
IIf ( |
||
IsNull ( |
||
ProcessBaseHrefNode ( |
||
ProcessContextIfNode ( |
||
ProcessContextSwitchNode ( |
||
ProcessContextValueNode ( |
||
ProcessSageVersionNode ( |
||
ResolvePathVariable ( |
||
SubstituteExtensionPath ( ) : bool |
public ExpandUrl ( string path ) : string | ||
path | string | The path to expand |
return | string |
public GetProjectVariable ( string name, string locale = null ) : string | ||
name | string | The name of the variable. |
locale | string | Optional locale to use to select the variable value. If omitted the current |
return | string |
public MapPath ( string path ) : string | ||
path | string | The path to map |
return | string |
public Parse ( |
||
element | ||
return | void |
public ProcessNode ( |
||
node | The node to process. | |
return |
public ProcessText ( string text ) : string | ||
text | string | The text to process. |
return | string |
public SageContext ( ControllerContext controllerContext, |
||
controllerContext | ControllerContext | The current |
config | The project configuration to use with this context instance. | |
return | System |
public SageContext ( |
||
httpContext | The current |
|
config | The project configuration to use with this context instance. | |
return | System |
public SageContext ( System.Web.HttpContextBase httpContext, string>.Func |
||
httpContext | System.Web.HttpContextBase | The current |
pathMapper | string>.Func | The function to use for resolving relative paths. |
config | The project configuration to use with this context instance. | |
return | System |
public SageContext ( System.Web.HttpContextBase httpContext, |
||
httpContext | System.Web.HttpContextBase | The current |
config | The project configuration to use with this context instance. | |
return | System |
public SageContext ( System.Web.HttpContextBase httpContext, string categoryName, string>.Func |
||
httpContext | System.Web.HttpContextBase | The current HTTP context. |
categoryName | string | The category to set for this instance. |
pathMapper | string>.Func | The function to use to map relative paths to absolute. |
config | The project configuration to use with this context instance. | |
return | System |
public SageContext ( System.Web.HttpContextBase httpContext, string categoryName, |
||
httpContext | System.Web.HttpContextBase | The current HTTP context. |
categoryName | string | The category to set for this instance. |
config | The project configuration to use with this context instance. | |
return | System |
public SageContext ( System.Web.HttpContextBase httpContext, string categoryName, string localeName, |
||
httpContext | System.Web.HttpContextBase | The current HTTP context. |
categoryName | string | The category to set for this instance. |
localeName | string | The locale to set for this instance. |
config | The project configuration to use with this context instance. | |
return | System |
public SageContext ( |
||
context | An existing |
|
config | The project configuration to use with this context instance. | |
pathMapper | string>.Func | The function to use for resolving relative paths. |
return | System |
public SageContext ( |
||
context | An existing |
|
categoryName | string | The name of the category to set on the new context. |
config | The project configuration to use with this context instance. | |
return | System |
public ToXml ( |
||
ownerDocument | The |
|
return |