示例#1
0
        public void Helper_Is_Called_After_Transformation()
        {
            IAssembler <MappingHelperDTO_CheckOrder, User> asm = ConfigureType <MappingHelperDTO_CheckOrder>();
            MappingHelperDTO_CheckOrder dto = asm.AssembleFrom(m_user);

            Assert.AreEqual(-100, dto.Id);              // check it is not -1
        }
 public void Helper(ref MappingHelperDTO_CheckOrder dto, ref User user)
 {
     dto.Id = -100;
 }
 public void Helper(ref MappingHelperDTO_CheckOrder dto, ref User user)
 {
     dto.Id = -100;
 }