C# Class ModularityWithNinject.Desktop.AggregateModuleCatalog

A basic aggregation of IModuleCatalogs for quickstart purposes.
Inheritance: IModuleCatalog
Afficher le fichier Open project: PrismLibrary/Prism-Samples-Wpf

Méthodes publiques

Méthode Description
AddCatalog ( IModuleCatalog catalog ) : void

Adds the catalog to the list of catalogs

AddModule ( Prism.Modularity.ModuleInfo moduleInfo ) : void

Adds a ModuleInfo to the ModuleCatalog.

AggregateModuleCatalog ( ) : System

Initializes a new instance of the AggregateModuleCatalog class.

CompleteListWithDependencies ( IEnumerable modules ) : IEnumerable

Returns the collection of ModuleInfos that contain both the ModuleInfos in modules, but also all the modules they depend on.

GetDependentModules ( Prism.Modularity.ModuleInfo moduleInfo ) : IEnumerable

Return the list of ModuleInfos that moduleInfo depends on.

Initialize ( ) : void

Initializes the catalog, which may load and validate the modules.

Method Details

AddCatalog() public méthode

Adds the catalog to the list of catalogs
public AddCatalog ( IModuleCatalog catalog ) : void
catalog IModuleCatalog The catalog to add.
Résultat void

AddModule() public méthode

Adds a ModuleInfo to the ModuleCatalog.
public AddModule ( Prism.Modularity.ModuleInfo moduleInfo ) : void
moduleInfo Prism.Modularity.ModuleInfo The to add.
Résultat void

AggregateModuleCatalog() public méthode

Initializes a new instance of the AggregateModuleCatalog class.
public AggregateModuleCatalog ( ) : System
Résultat System

CompleteListWithDependencies() public méthode

Returns the collection of ModuleInfos that contain both the ModuleInfos in modules, but also all the modules they depend on.
public CompleteListWithDependencies ( IEnumerable modules ) : IEnumerable
modules IEnumerable The modules to get the dependencies for.
Résultat IEnumerable

GetDependentModules() public méthode

Return the list of ModuleInfos that moduleInfo depends on.
public GetDependentModules ( Prism.Modularity.ModuleInfo moduleInfo ) : IEnumerable
moduleInfo Prism.Modularity.ModuleInfo The to get the
Résultat IEnumerable

Initialize() public méthode

Initializes the catalog, which may load and validate the modules.
public Initialize ( ) : void
Résultat void