public MapBuilder(ExpressionProvider expressionProvider) { _expressionProvider = expressionProvider; _inType = typeof(TIn); _outType = typeof(TOut); _inMembers = Helper.GetMapFields(_inType).ToList(); _outMembers = Helper.GetMapFields(_outType, true).ToList(); }
public MapConfiguration(ExpressionProvider expressionProvider, DynamicMapping dynamicMapping = DynamicMapping.NotAllowed, bool preserveReferences = false) { _expressionProvider = expressionProvider; _dynamicMapping = dynamicMapping; _preserveReferences = preserveReferences; }