IdeaBlade.Core Assembly > IdeaBlade.Core.Composition Namespace : CompositionContext Class |
The following tables list the members exposed by CompositionContext.
Name | Description | |
---|---|---|
CompositionContext Constructor | Create a CompositionContext with the given name, fake filtering, and types specified. |
Name | Description | |
---|---|---|
IsFake | Returns whether fake filtering is performed. | |
IsNamed | Indicates if the CompositionContext has a name. | |
Name | Returns the name of the context. | |
RegisteredContexts | Returns a list of all currently registered contexts. |
Name | Description | |
---|---|---|
AndFilters | Ands two export filters. | |
BuildExportFilter | Adds a filter for the specified ExportMetadata key and value. | |
Equals | ||
GetByName | Returns the CompositionContext with the specified name. | |
GetExportedInstance | For internal use. Used during composition to return an exported value. | |
GetExportedInstanceFuncs | Internal use. Returns the generatorFuncs defined for the type. | |
GetExportedInstances | For internal use. Used during composition to return exported values. | |
GetHashCode | Serves as the default hash function. | |
GetType | (Inherited from object) | |
GetTypeFilter | For internal use. Used during composition to return the export filter for the type. | |
ToString | (Inherited from object) | |
WithFilter | Creates a new CompositionContext from the current context with the specified "global" metadata filter. | |
WithGenerator | Overloaded. Creates a new CompositionContext from the current context with filtering for the types specified. | |
WithName | Creates a new CompositionContext from the current context and assigns the specified name. | |
WithTypeFilter | Creates a new CompositionContext from the current context with a metadata filter for the type specified. |
Name | Description | |
---|---|---|
AddGenerator | Overloaded. Creates and adds a constructor function for the type to the CompositionContext. | |
Finalize | (Inherited from object) | |
MemberwiseClone | (Inherited from object) |
Name | Description | |
---|---|---|
GetFakeBackingStore | Get the fake backing store for the context. |