C# Class Crow.Library.Bootstrappers.Bootstrapper

Class that handles the loading operations for the library.
Afficher le fichier Open project: msusur/Crowfx Class Usage Examples

Protected Properties

Свойство Type Description
_container System.ComponentModel.Composition.Hosting.CompositionContainer

Méthodes publiques

Méthode Description
Bootstrapper ( ) : System
Bootstrapper ( IAssemblyLoader loader ) : System
Clear ( ) : void

Clears the container.

Start ( ) : void

Starts the application and starts module loading.

Stop ( ) : void

Stops the application and releases the unnecessery components.

Méthodes protégées

Méthode Description
LoadModules ( IEnumerable assemblies ) : void

Starts the application with the given assemblies.

UnloadModules ( ) : void

Unloads the modules and components.

Private Methods

Méthode Description
CanAddAssembly ( Assembly assembly ) : bool
GetByAttributes ( IEnumerable startupInstallers, Type type ) : IEnumerable
Install ( IModule installer ) : void
IterateNodes ( DependencyNode node, AttributeContext context, IModule item, bool &added ) : void
OrderInstallerDependencies ( IEnumerable startupInstallers ) : IEnumerable
VisitAndYieldReturnTree ( DependencyNode>.Dictionary nodes ) : IEnumerable

Method Details

Bootstrapper() public méthode

public Bootstrapper ( ) : System
Résultat System

Bootstrapper() public méthode

public Bootstrapper ( IAssemblyLoader loader ) : System
loader IAssemblyLoader
Résultat System

Clear() public méthode

Clears the container.
public Clear ( ) : void
Résultat void

LoadModules() protected méthode

Starts the application with the given assemblies.
protected LoadModules ( IEnumerable assemblies ) : void
assemblies IEnumerable
Résultat void

Start() public méthode

Starts the application and starts module loading.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops the application and releases the unnecessery components.
public Stop ( ) : void
Résultat void

UnloadModules() protected méthode

Unloads the modules and components.
protected UnloadModules ( ) : void
Résultat void

Property Details

_container protected_oe property

protected CompositionContainer,System.ComponentModel.Composition.Hosting _container
Résultat System.ComponentModel.Composition.Hosting.CompositionContainer