Class MefContentControlRegionAdapter
Exports the ContentControlRegionAdapter using the Managed Extensibility Framework (MEF).
Inheritance
MefContentControlRegionAdapter
Implements
Namespace: Sartorius.SAF.Presentation.MefExtensions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Export(typeof(ContentControlRegionAdapter))]
[PartCreationPolicy(CreationPolicy.Shared)]
public class MefContentControlRegionAdapter : ContentControlRegionAdapter, IRegionAdapter
Remarks
This allows the ConfigureContainer() to provide this class as a default implementation. If another implementation is found, this export will not be used.
Constructors
View SourceMefContentControlRegionAdapter(IRegionBehaviorFactory)
Initializes a new instance of the MefContentControlRegionAdapter class.
Declaration
[ImportingConstructor]
public MefContentControlRegionAdapter(IRegionBehaviorFactory regionBehaviorFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IRegionBehaviorFactory | regionBehaviorFactory | The region behavior factory. |