C# Class Open.Core.Common.PackageDownloadService

Inheritance: IPackageDownloadService
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode Description
DownloadAsync ( Uri packageUri, CallbackAction callback ) : void

Starts the downloading of a XAP package.

DownloadAsync ( string xapName, CallbackAction callback ) : void

Starts the downloading of a XAP package.

InitializeContainer ( ) : PackageDownloadService

Initializes the MEF container in such a way that the Downloader service can operate (call this at startup exactly once).

Method Details

DownloadAsync() public méthode

Starts the downloading of a XAP package.
public DownloadAsync ( Uri packageUri, CallbackAction callback ) : void
packageUri System.Uri The URI of the XAP file to download.
callback CallbackAction The callback to invoke when the operation is complete.
Résultat void

DownloadAsync() public méthode

Starts the downloading of a XAP package.
public DownloadAsync ( string xapName, CallbackAction callback ) : void
xapName string The name of the XAP file to download (assumes that it is within the ClientBin of the hosting site).
callback CallbackAction The callback to invoke when the operation is complete.
Résultat void

InitializeContainer() public static méthode

Initializes the MEF container in such a way that the Downloader service can operate (call this at startup exactly once).
public static InitializeContainer ( ) : PackageDownloadService
Résultat PackageDownloadService