Method | Description | |
---|---|---|
Download ( System.Action onComplete ) : void |
Downloading the scripts and resources for the package (but does not invoke the EntryPoint method).
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
DownloadInternal ( System.Action onScriptsDownloaded, System.Action onTimedOut ) : void |
Downloads the resources defined for the package.
|
|
PackageBase ( string entryPoint, string scriptUrls, string resourceUrls ) : System |
Constructor.
|
|
SetDownloadError ( string message ) : void |
Logs the given error message and assigns it to an Exception held within the 'LoadError' property.
|
Method | Description | |
---|---|---|
CreateScriptLoader ( ) : |
||
Download ( ) : void | ||
DownloadScripts ( System.Action callback ) : void | ||
FormatMethod ( string method ) : string | ||
FormatUrl ( string url ) : string | ||
InsertCssLinks ( ) : void | ||
PackageBase ( string entryPoint ) : System | ||
PackageBase ( string entryPoint, string scriptUrls ) : System |
public Download ( System.Action onComplete ) : void | ||
onComplete | System.Action | Action to invoke upon completion. |
return | void |
protected DownloadInternal ( System.Action onScriptsDownloaded, System.Action onTimedOut ) : void | ||
onScriptsDownloaded | System.Action | Invoked when the scripts have completed downloading. |
onTimedOut | System.Action | Invoked when/if the operation times out (NB: 'onScriptsDownloaded' is never called if the operation times out). |
return | void |
protected PackageBase ( string entryPoint, string scriptUrls, string resourceUrls ) : System | ||
entryPoint | string | The entry point method to invoke. |
scriptUrls | string | /// The paths to the script(s) required for the part. /// If multiple scripts a semi-colon (;) seperated list is expected. /// |
resourceUrls | string | /// The paths to the resource file(s) that are required by the part (images, CSS). /// Multiple files are seperated by a semi-colon (;). /// Images (.png .jpg) are pre-loaded using the [ImagePreloader]. /// |
return | System |
protected SetDownloadError ( string message ) : void | ||
message | string | The error message. |
return | void |