public void Map <TargetType, SourceType>(TargetType target, SourceType source) { TCacheMapper <TargetType, SourceType> mapper = this.Create <TargetType, SourceType>(); mapper.Map(target, source); }
public TargetType Map <TargetType, SourceType>(SourceType source) { TCacheMapper <TargetType, SourceType> mapper = this.Create <TargetType, SourceType>(); return(mapper.Map(source)); }