Exemplo n.º 1
0
        public void Map <TargetType, SourceType>(TargetType target, SourceType source)
        {
            TCacheMapper <TargetType, SourceType> mapper = this.Create <TargetType, SourceType>();

            mapper.Map(target, source);
        }
Exemplo n.º 2
0
        public TargetType Map <TargetType, SourceType>(SourceType source)
        {
            TCacheMapper <TargetType, SourceType> mapper = this.Create <TargetType, SourceType>();

            return(mapper.Map(source));
        }