Show / Hide Table of Contents

Class MefScopedCompositionContext

The MEF composition container.

Inheritance
System.Object
MefCompositionContextBase
MefScopedCompositionContext
Implements
ICompositionContext
System.IDisposable
Inherited Members
MefCompositionContextBase.IsRoot
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.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 MefScopedCompositionContext : MefCompositionContextBase, ICompositionContext, IDisposable

Constructors

| Improve this Doc View Source

MefScopedCompositionContext(Export<CompositionContext>)

Initializes a new instance of the MefScopedCompositionContext class.

Declaration
public MefScopedCompositionContext(Export<CompositionContext> export)
Parameters
Type Name Description
System.Composition.Export<System.Composition.CompositionContext> export

The export.

Methods

| Improve this Doc View Source

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides
MefCompositionContextBase.Dispose(Boolean)

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