Class MefAutoPopulateRegionBehavior
Exports the AutoPopulateRegionBehavior using the Managed Extensibility Framework (MEF).
Implements
Namespace: Sartorius.SAF.Presentation.MefExtensions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Export(typeof(AutoPopulateRegionBehavior))]
[PartCreationPolicy(CreationPolicy.NonShared)]
public class MefAutoPopulateRegionBehavior : AutoPopulateRegionBehavior, IRegionBehavior
Remarks
This allows the MefBootstrapper to provide this class as a default implementation. If another implementation is found, this export will not be used.
Constructors
View SourceMefAutoPopulateRegionBehavior(IRegionViewRegistry)
Initializes a new instance of the MefAutoPopulateRegionBehavior class.
Declaration
[ImportingConstructor]
public MefAutoPopulateRegionBehavior(IRegionViewRegistry regionViewRegistry)
Parameters
| Type | Name | Description |
|---|---|---|
| IRegionViewRegistry | regionViewRegistry | IRegionViewRegistry that the behavior will monitor for views to populate the region. |