Static Public Member Functions | List of all members
LoaderExtensions Class Reference

Detailed Description

Additions to IBundleDirectoryLoader

Done this way so we don't have to have a baseclass to offer these utilities.

Static Public Member Functions

static IOperation  Initialize (this IManifestLoader loader, BundleManager manager, string absolutePath, int version)
 
static IOperation  Initialize (this IManifestLoader loader, BundleManager manager, string absolutePath)
 
static IEnumerator  InstallDirectory (this IManifestLoader loader, BundleManager manager, IOperation loadOp)
 

Member Function Documentation

◆ Initialize() [1/2]

static IOperation Initialize ( this IManifestLoader  loader,
BundleManager  manager,
string  absolutePath 
)
static

Sets the source URL to the manifest and where all remote content is expected to be found.

Can be updated during application run for a version change.

Parameters
version If cached locally and version number matches, won't hit network
absolutePath manifest path. Not necessarily from baseUrl

◆ Initialize() [2/2]

static IOperation Initialize ( this IManifestLoader  loader,
BundleManager  manager,
string  absolutePath,
int  version 
)
static

Sets the source URL to the manifest and where all remote content is expected to be found.

Can be updated during application run for a version change.

Parameters
version If cached locally and version number matches, won't hit network
absolutePath manifest path. Not necessarily from baseUrl

◆ InstallDirectory()

static IEnumerator InstallDirectory ( this IManifestLoader  loader,
BundleManager  manager,
IOperation  loadOp 
)
static

Watch for a completed loadOp and install resulting Directory

Parameters
loader
manager
Returns