C# Класс ModularityWithNinject.Desktop.AggregateModuleCatalog

A basic aggregation of IModuleCatalogs for quickstart purposes.
Наследование: IModuleCatalog
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AddCatalog() публичный Метод

Adds the catalog to the list of catalogs
public AddCatalog ( IModuleCatalog catalog ) : void
catalog IModuleCatalog The catalog to add.
Результат void

AddModule() публичный Метод

Adds a ModuleInfo to the ModuleCatalog.
public AddModule ( Prism.Modularity.ModuleInfo moduleInfo ) : void
moduleInfo Prism.Modularity.ModuleInfo The to add.
Результат void

AggregateModuleCatalog() публичный Метод

Initializes a new instance of the AggregateModuleCatalog class.
public AggregateModuleCatalog ( ) : System
Результат System

CompleteListWithDependencies() публичный Метод

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.
Результат IEnumerable

GetDependentModules() публичный Метод

Return the list of ModuleInfos that moduleInfo depends on.
public GetDependentModules ( Prism.Modularity.ModuleInfo moduleInfo ) : IEnumerable
moduleInfo Prism.Modularity.ModuleInfo The to get the
Результат IEnumerable

Initialize() публичный Метод

Initializes the catalog, which may load and validate the modules.
public Initialize ( ) : void
Результат void