Class MefRegionBehaviorFactory
Exports the RegionBehaviorFactory using the Managed Extensibility Framework (MEF).
Namespace: Sartorius.SAF.Presentation.MefExtensions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Export(typeof(IRegionBehaviorFactory))]
[PartCreationPolicy(CreationPolicy.Shared)]
public class MefRegionBehaviorFactory : RegionBehaviorFactory, IRegionBehaviorFactory, IEnumerable<string>, IEnumerable
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 SourceMefRegionBehaviorFactory(IServiceLocator)
Initializes a new instance of the MefRegionBehaviorFactory class.
Declaration
[ImportingConstructor]
public MefRegionBehaviorFactory(IServiceLocator serviceLocator)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceLocator | serviceLocator | CommonServiceLocator.IServiceLocator used to create the instance of the behavior from its Type. |