Show / Hide Table of Contents

Class MefAutoPopulateRegionBehavior

Exports the AutoPopulateRegionBehavior using the Managed Extensibility Framework (MEF).

Inheritance
object
RegionBehavior
AutoPopulateRegionBehavior
MefAutoPopulateRegionBehavior
Implements
IRegionBehavior
AutoPopulateRegionBehavior.OnViewRegistered(object, ViewRegisteredEventArgs)
AutoPopulateRegionBehavior.BehaviorKey
AutoPopulateRegionBehavior.AddViewIntoRegion(object)
AutoPopulateRegionBehavior.CreateViewsToAutoPopulate()
AutoPopulateRegionBehavior.OnAttach()
RegionBehavior.IsAttached
RegionBehavior.Region
RegionBehavior.Attach()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

MefAutoPopulateRegionBehavior(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.

Implements

IRegionBehavior

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX