Method | Description | |
---|---|---|
CocktailMefBootstrapper ( bool useApplication = true ) : System |
Creates an instance of CocktailMefBootstrapper.
|
|
Configure ( ) : void |
Configures the framework and sets up the IoC container.
|
|
PrepareCompositionCatalog ( ) : ComposablePartCatalog |
Override to substitute the default composition catalog with a custom catalog.
|
|
PrepareCompositionContainer ( System.ComponentModel.Composition.Hosting.CompositionBatch batch ) : void |
Override to add additional exports to the CompositionHost during configuration.
|
Method | Description | |
---|---|---|
EnsureBootstrapperHasNoExports ( ) : void |
Ensures that no MEF ExportAttributes are used in the Bootstrapper
|
|
OnCatalogRecomposed ( ) : void | ||
UpdateAssemblySourceFromCatalog ( System.ComponentModel.Composition.Hosting.AggregateCatalog catalog ) : void | ||
UpdateAssemblySourceFromCatalog ( System.ComponentModel.Composition.Hosting.AssemblyCatalog catalog ) : void | ||
UpdateAssemblySourceFromCatalog ( ComposablePartCatalog catalog ) : void |
protected CocktailMefBootstrapper ( bool useApplication = true ) : System | ||
useApplication | bool | Optionally specify if the bootstrapper should hook into the application object. |
return | System |
protected PrepareCompositionCatalog ( ) : ComposablePartCatalog | ||
return | ComposablePartCatalog |
protected PrepareCompositionContainer ( System.ComponentModel.Composition.Hosting.CompositionBatch batch ) : void | ||
batch | System.ComponentModel.Composition.Hosting.CompositionBatch | The composition batch to add to. |
return | void |