예제 #1
0
        public void Non_Static_Preparer()
        {
            IAssembler <MappingPreparerDTO_InstancePreparer, User> asm = ConfigureType <MappingPreparerDTO_InstancePreparer>();
            MappingPreparerDTO_InstancePreparer dto = asm.AssembleFrom(m_user);

            Assert.AreEqual(77, dto.Id);
            Assert.AreEqual("custom_mapping_InstancePreparer", dto.FullName);
        }
 public void Preparer(ref MappingPreparerDTO_InstancePreparer dto, ref User user)
 {
     dto.FullName = "custom_mapping_InstancePreparer";
 }
 public void Preparer(ref MappingPreparerDTO_InstancePreparer dto, ref User user)
 {
     dto.FullName = "custom_mapping_InstancePreparer";
 }