Class MefCompositionContainer
The MEF composition container.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Composition.Mef.Hosting
Assembly: Kephas.Composition.Mef.dll
Syntax
public class MefCompositionContainer : MefCompositionContextBase, ICompositionContext, IDisposable
Constructors
| Improve this Doc View SourceMefCompositionContainer(ContainerConfiguration)
Initializes a new instance of the MefCompositionContainer class.
Declaration
protected MefCompositionContainer(ContainerConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
System.Composition.Hosting.ContainerConfiguration | configuration | The configuration. |
Properties
| Improve this Doc View SourceIsRoot
Gets a value indicating whether this object is root.
Declaration
protected override bool IsRoot { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if this object is root, false if not. |
Overrides
Methods
| Improve this Doc View SourceCreateCompositionContext(ContainerConfiguration)
Creates the composition context.
Declaration
protected virtual CompositionContext CreateCompositionContext(ContainerConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
System.Composition.Hosting.ContainerConfiguration | configuration | The configuration. |
Returns
Type | Description |
---|---|
System.Composition.CompositionContext | The new composition context. |
Implements
System.IDisposable