public Mapper SetConfig <TSource, TDestination>( Expression <Func <TSource, object> > source, Expression <Func <TDestination, object> > destination) { ConfigurationMapCollection <TSource, TDestination> .Set( new ConfigurationMap <TSource, TDestination>() { Source = source, Destination = destination }); return(this); }
public Mapper SetConfig <TSource, TDestination>( Expression <Func <TSource, object> > source, Expression <Func <TDestination, object> > destination, Expression <Func <TSource, object> > appendValue, string SeparatorAppend) { ConfigurationMapCollection <TSource, TDestination> .Set( new ConfigurationMap <TSource, TDestination>() { Source = source, Destination = destination, AppendValue = appendValue, SeparatorAppend = SeparatorAppend }); return(this); }