Method | Description | |
---|---|---|
GetHttpResponse ( string url ) : |
Returns the WebResponse resulting from issuing a request to url.
|
|
GetHttpResponse ( string url, string username, string password ) : |
Returns the WebResponse resulting from issuing a request to url, using the specified username and password.
|
|
GetRemoteTextFile ( string url ) : string |
Fetches the remote file from the specified url and returns the response text.
|
|
LoadXml ( string path ) : |
Creates and returns a new CacheableXmlDocument, loaded from the specified path.
|
|
LoadXmlDocument ( string path ) : |
Creates and returns a new CacheableXmlDocument, loaded from the specified path.
|
|
LoadXmlDocument ( string path, SageContext context ) : |
Creates and returns a new CacheableXmlDocument, loaded from the specified path, using the specified context.
|
|
LoadXmlDocument ( string path, SageContext context, string schemaPath ) : |
Creates, validates and returns a new CacheableXmlDocument, loaded from the specified path, using the specified context and schemaPath.
|
|
ResourceManager ( SageContext context ) : System |
Initializes a new instance of the ResourceManager class, using the specified SageContext.
|
|
ValidateDocument ( |
Validates the specified document document against the XML schema loaded from the specified schemaPath, and returns an object that contains the validation information.
|
|
ValidateElement ( |
Validates the specified document element against the XML schema loaded from the specified schemaPath, and returns an object that contains the validation information.
|
Method | Description | |
---|---|---|
GetPhrase ( string phraseId ) : string |
Gets the dictionary phrase with the specified id, for the current category, in the current locale.
|
|
LoadGlobalizedDocument ( string path, SageContext context ) : |
||
LoadSourceDocument ( string path, SageContext context ) : |
public static GetHttpResponse ( string url ) : |
||
url | string | The URL to which to send the request. |
return |
public static GetHttpResponse ( string url, string username, string password ) : |
||
url | string | The URL to which to send the request. |
username | string | The username to use. |
password | string | The password to use. |
return |
public static GetRemoteTextFile ( string url ) : string | ||
url | string | The URL of the file to fetch. |
return | string |
public LoadXml ( string path ) : |
||
path | string | The path. |
return |
public static LoadXmlDocument ( string path ) : |
||
path | string | The path to the document to load. |
return |
public static LoadXmlDocument ( string path, SageContext context ) : |
||
path | string | The path to the document to load. |
context | SageContext | The context to use to resolve the |
return |
public static LoadXmlDocument ( string path, SageContext context, string schemaPath ) : |
||
path | string | The path to the document to load. |
context | SageContext | The context to use to resolve the |
schemaPath | string | The path to the XML schema to use to validate the document against. |
return |
public ResourceManager ( SageContext context ) : System | ||
context | SageContext | The current context. |
return | System |
public static ValidateDocument ( |
||
document | The document to validate. | |
schemaPath | string | The path to the XML schema to use to validate the document against. |
return |
public static ValidateElement ( |
||
element | The element to validate. | |
schemaPath | string | The path to the XML schema to use to validate the element against. |
return |