DevForce Help Reference
CompositionHost Class Members
Properties  Methods  Events


The following tables list the members exposed by CompositionHost.

Public Properties
 NameDescription
Public PropertyContainer Returns the Main (developer extensions) CompositionContainer in use.  
Public Propertystatic (Shared in Visual Basic)IgnorePatterns Patterns used to ignore assemblies when building the PartsCatalog.  
Public Propertystatic (Shared in Visual Basic)IncludeLoadedAssemblies Whether to include currently loaded user assemblies in discovery. Default is false.  
Public Propertystatic (Shared in Visual Basic)IncludeReferenceAssemblies Not currently used.  
Public Propertystatic (Shared in Visual Basic)Instance Singleton instance.  
Public PropertyProbeAssemblies Returns the assemblies which are included in the container and available for discovery.  
Public PropertyProbeAssemblyNames Returns the names of all assemblies which are included in the catalog and available for discovery.  
Public Propertystatic (Shared in Visual Basic)SearchFolders List of folders to be searched for discovery purposes. Default is the application's base directory.  
Public Propertystatic (Shared in Visual Basic)SearchOption Whether to look in the top directory or all directories.  
Public Propertystatic (Shared in Visual Basic)SearchPatterns Search patterns to use when looking for assemblies for the PartsCatalog.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Add Add dynamic content to the container.  
Public MethodEquals (Inherited from object)
Public MethodGetDefaultInstanceOverloaded.  Returns the default DevForce implementation for the import definition.  
Public MethodGetExportedInstanceOverloaded.  Returns an exported instance matching the import definition for the type.  
Public MethodGetExportedInstancesOverloaded.  Returns any exported instances matching the import definition for the type.  
Public MethodGetHashCode (Inherited from object)
Public MethodGetNewDefaultInstanceOverloaded.  Returns a new default DevForce implementation for the import definition.  
Public MethodGetNewExportedInstance<T> Returns a new exported instance matching the import definition for the type.  
Public MethodGetNewExportedInstancesOverloaded.  Returns any new exported instances matching the import definition for the type.  
Public MethodGetType (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Refresh Refreshes main catalog after changes to search or ignore patterns.  
Public MethodToString (Inherited from object)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Top
Public Events
 NameDescription
Public EventRecomposed Raised when the composition container is modified after initialization.  
Top
See Also

Reference

CompositionHost Class
IdeaBlade.Core.Composition Namespace

Send Feedback