public void AddMapping <TSource, TDest>(MappingExpression <TSource, TDest> map, bool isRegistered) { var mapping = new FieldMap(map.ProfileType, GetFieldFromExpression(map.Source, isRegistered), GetFieldFromExpression(map.Destination, isRegistered), isRegistered); AddMapping(mapping, isRegistered); }
public IMappingExpression <TSource, TDest> CreateMap <TSource, TDest>() { var expression = new MappingExpression <TSource, TDest>(this.GetType()); return(expression); }
public void AddMapping <TSource, TDest>(MappingExpression <TSource, TDest> map) { AddMapping(map, false); }