/// <summary> /// Creates a new instance of the Registrar. /// </summary> /// <param name="target">The container to register mappings into.</param> /// <param name="mappingFactory">The factory to create mappings.</param> /// <param name="internalContainer">The container used internally by the mapper itself. This is NOT the target for registration!</param> public MappingController(IUnityContainer target, ITypeMappingFactory mappingFactory, IUnityContainer internalContainer) { this.internalContainer = internalContainer; this.mappingFactory = mappingFactory; this.target = target; }
/// <summary> /// Creates a new instance of the Registrar. /// </summary> /// <param name="target">The container to register mappings into.</param> /// <param name="mappingFactory">The factory to create mappings.</param> /// <param name="internalContainer">The container used internally by the mapper itself. This is NOT the target for registration!</param> public MappingController(IUnityContainer target, ITypeMappingFactory mappingFactory, IUnityContainer internalContainer) { this.internalContainer = internalContainer; this.mappingFactory = mappingFactory; this.target = target; }