Show / Hide Table of Contents

Class MefRegionViewRegistry

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

Inheritance
object
RegionViewRegistry
MefRegionViewRegistry
Implements
IRegionViewRegistry
RegionViewRegistry.ContentRegistered
RegionViewRegistry.GetContents(string)
RegionViewRegistry.RegisterViewWithRegion(string, Type)
RegionViewRegistry.RegisterViewWithRegion(string, Func<object>)
RegionViewRegistry.CreateInstance(Type)
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(IRegionViewRegistry))]
[PartCreationPolicy(CreationPolicy.Shared)]
public class MefRegionViewRegistry : RegionViewRegistry, IRegionViewRegistry
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

MefRegionViewRegistry(IServiceLocator)

Initializes a new instance of the MefRegionViewRegistry class.

Declaration
[ImportingConstructor]
public MefRegionViewRegistry(IServiceLocator serviceLocator)
Parameters
Type Name Description
IServiceLocator serviceLocator

The service locator.

Implements

IRegionViewRegistry

Extension Methods

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