Show / Hide Table of Contents

Class MefCompositionContainer

The MEF composition container.

Inheritance
System.Object
MefCompositionContextBase
MefCompositionContainer
Implements
ICompositionContext
System.IDisposable
Inherited Members
MefCompositionContextBase.GetExport(Type, String)
MefCompositionContextBase.GetExports(Type)
MefCompositionContextBase.GetExport<T>(String)
MefCompositionContextBase.GetExports<T>()
MefCompositionContextBase.TryGetExport(Type, String)
MefCompositionContextBase.TryGetExport<T>(String)
MefCompositionContextBase.CreateScopedContext()
MefCompositionContextBase.Dispose()
MefCompositionContextBase.Dispose(Boolean)
MefCompositionContextBase.Initialize(CompositionContext)
MefCompositionContextBase.AssertNotDisposed()
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 Source

MefCompositionContainer(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 Source

IsRoot

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
MefCompositionContextBase.IsRoot

Methods

| Improve this Doc View Source

CreateCompositionContext(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

ICompositionContext
System.IDisposable

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX