DevForce Help Reference
CompositionContext Class Members
Fields  Properties  Methods 


The following tables list the members exposed by CompositionContext.

Public Constructors
 NameDescription
Public ConstructorCompositionContext Constructor Create a CompositionContext with the given name, fake filtering, and types specified.  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)Default The default composition context.  
Public Fieldstatic (Shared in Visual Basic)Fake The "fake" composition context.  
Top
Public Properties
 NameDescription
Public PropertyIsFake Returns whether fake filtering is performed.  
Public PropertyIsNamed Indicates if the CompositionContext has a name.  
Public PropertyName Returns the name of the context.  
Public Propertystatic (Shared in Visual Basic)RegisteredContexts Returns a list of all currently registered contexts.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AndFilters Ands two export filters.  
Public Methodstatic (Shared in Visual Basic)BuildExportFilterAdds a filter for the specified ExportMetadata key and value.  
Public MethodEquals  
Public Methodstatic (Shared in Visual Basic)GetByName Returns the CompositionContext with the specified name.  
Public MethodGetExportedInstance For internal use. Used during composition to return an exported value.  
Public MethodGetExportedInstanceFuncs Internal use. Returns the generatorFuncs defined for the type.  
Public MethodGetExportedInstances For internal use. Used during composition to return exported values.  
Public MethodGetHashCodeServes as the default hash function.  
Public MethodGetType (Inherited from object)
Public MethodGetTypeFilter For internal use. Used during composition to return the export filter for the type.  
Public MethodToString (Inherited from object)
Public MethodWithFilter Creates a new CompositionContext from the current context with the specified "global" metadata filter.  
Public MethodWithGeneratorOverloaded.  Creates a new CompositionContext from the current context with filtering for the types specified.  
Public MethodWithName Creates a new CompositionContext from the current context and assigns the specified name.  
Public MethodWithTypeFilter Creates a new CompositionContext from the current context with a metadata filter for the type specified.  
Top
Protected Methods
 NameDescription
Protected MethodAddGeneratorOverloaded.  Creates and adds a constructor function for the type to the CompositionContext.  
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetFakeBackingStore Get the fake backing store for the context.
Top
See Also

Reference

CompositionContext Class
IdeaBlade.Core.Composition Namespace

Send Feedback