C# Class Open.Core.Common.Network.AssemblyLoader

Loads an assembly from the server into the application.
Inheritance: LoaderBase
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode Description
AssemblyLoader ( string xapFileName ) : System

Constructor.

The XAP file will contain both the specific DLL you are looking to use along with the other dependencies the DLL has.

GetAssemblies ( ) : IEnumerable

Retrieves the set of loaded assemblies excluding Assemblies with the given prefixes.

StripExtensions ( string fileName ) : string

Strips XAP and DLL extensions from a file.

ToString ( ) : string

Méthodes protégées

Méthode Description
GetUri ( ) : Uri
OnLoadCallback ( TestableOpenReadCompletedEventArgs e ) : void
OnPreload ( ) : bool

Private Methods

Méthode Description
GetEntryPointAssembly ( System.Xml.Linq.XElement xDeploymentRoot ) : string
GetInfo ( Stream stream, string contentType, string uri ) : System.Windows.Resources.StreamResourceInfo
IncludeAssembly ( Assembly assembly, IEnumerable excludePrefix ) : bool

Method Details

AssemblyLoader() public méthode

Constructor.
The XAP file will contain both the specific DLL you are looking to use along with the other dependencies the DLL has.
public AssemblyLoader ( string xapFileName ) : System
xapFileName string The filename of the XAP to load.
Résultat System

GetAssemblies() public méthode

Retrieves the set of loaded assemblies excluding Assemblies with the given prefixes.
public GetAssemblies ( ) : IEnumerable
Résultat IEnumerable

GetUri() protected méthode

protected GetUri ( ) : Uri
Résultat System.Uri

OnLoadCallback() protected méthode

OnPreload() protected méthode

protected OnPreload ( ) : bool
Résultat bool

StripExtensions() public static méthode

Strips XAP and DLL extensions from a file.
public static StripExtensions ( string fileName ) : string
fileName string The file name to strip.
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string