메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
리턴 | 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 |
리턴 | string |
public ProcessNode ( |
||
node | The node to process. | |
리턴 |
public ProcessText ( string text ) : string | ||
text | string | The text to process. |
리턴 | string |
public SageContext ( ControllerContext controllerContext, |
||
controllerContext | ControllerContext | The current |
config | The project configuration to use with this context instance. | |
리턴 | System |
public SageContext ( |
||
httpContext | The current |
|
config | The project configuration to use with this context instance. | |
리턴 | 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. | |
리턴 | System |
public SageContext ( System.Web.HttpContextBase httpContext, |
||
httpContext | System.Web.HttpContextBase | The current |
config | The project configuration to use with this context instance. | |
리턴 | 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. | |
리턴 | 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. | |
리턴 | 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. | |
리턴 | 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. |
리턴 | 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. | |
리턴 | System |
public ToXml ( |
||
ownerDocument | The |
|
리턴 |