/// <summary> /// Initializes a new instance of the <see cref="MappingEngine"/> class /// </summary> /// <param name="rootConfig">The root configuration</param> /// <param name="nhConfig">The current NH configuration</param> /// <param name="modelMapper">The model mapper</param> public MappingEngine(ConventionMapConfig rootConfig, Configuration nhConfig, ConventionModelMapper modelMapper) { this.rootConfig = rootConfig; this.nhConfig = nhConfig; this.modelMapper = modelMapper; this.namingEngine = new NamingEngine(rootConfig.NamingConventionsConfig); }
/// <summary> /// Initializes a new instance of <see cref="Firehawk"/> class /// </summary> internal ConventionMap() { this.rootConfig = new ConventionMapConfig(this); this.modelMapper = new ConventionModelMapper(); }