C# Class Microsoft.Practices.Prism.MefExtensions.Modularity.DownloadedPartCatalogCollection

ファイルを表示 Open project: xperiandri/PortablePrism Class Usage Examples

Public Methods

Method Description
Add ( ModuleInfo moduleInfo, ComposablePartCatalog catalog ) : void

Adds the specified catalog using the module info as a key.

Clear ( ) : void

Clears the collection of catalogs.

Get ( ModuleInfo moduleInfo ) : ComposablePartCatalog

Gets the catalog for the specified module info.

Remove ( ModuleInfo moduleInfo ) : void

Removes the catalgo for the specified module info.

TryGet ( ModuleInfo moduleInfo, ComposablePartCatalog &catalog ) : bool

Tries to ge the catalog for the specified module info.

Method Details

Add() public method

Adds the specified catalog using the module info as a key.
public Add ( ModuleInfo moduleInfo, ComposablePartCatalog catalog ) : void
moduleInfo Microsoft.Practices.Prism.Modularity.ModuleInfo The module info.
catalog ComposablePartCatalog The catalog.
return void

Clear() public method

Clears the collection of catalogs.
public Clear ( ) : void
return void

Get() public method

Gets the catalog for the specified module info.
public Get ( ModuleInfo moduleInfo ) : ComposablePartCatalog
moduleInfo Microsoft.Practices.Prism.Modularity.ModuleInfo The module info.
return ComposablePartCatalog

Remove() public method

Removes the catalgo for the specified module info.
public Remove ( ModuleInfo moduleInfo ) : void
moduleInfo Microsoft.Practices.Prism.Modularity.ModuleInfo The module info.
return void

TryGet() public method

Tries to ge the catalog for the specified module info.
public TryGet ( ModuleInfo moduleInfo, ComposablePartCatalog &catalog ) : bool
moduleInfo Microsoft.Practices.Prism.Modularity.ModuleInfo The module info.
catalog ComposablePartCatalog The catalog.
return bool