DevForce Help Reference
CompositionHost Class
Members 


Encapsulates the Managed Extensibility Framework composition container used by DevForce.
Object Model
CompositionHost ClassCompositionHost Class
Syntax
'Declaration
 
Public Class CompositionHost 
'Usage
 
Dim instance As CompositionHost
public class CompositionHost 
Remarks
Use CompositionHost.Instance to reference the singleton used within DevForce. The CompositionHost is used to manage DevForce extensibility via imports and exports. You do not need to use the CompositionHost for MEF extensibility within your own application, although you can. You will generally not need to directly call methods on the CompositionHost since DevForce will handle discovery as needed.

By default, DevForce will create a catalog using all assemblies in a folder, or for Silverlight and other environments, all assemblies in the package or XAP.

In Silverlight applications you can add dynamically loaded content using one of the Add(Uri) overloads.

You can modify default search behaviors by modifying the SearchPatterns and IgnorePatterns, and in desktop application the SearchFolders and SearchOption can be set.

Inheritance Hierarchy

System.Object
   IdeaBlade.Core.Composition.CompositionHost

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CompositionHost Members
IdeaBlade.Core.Composition Namespace

Send Feedback