Пример #1
0
        public void Static_Preparer()
        {
            IAssembler <MappingPreparerDTO_StaticPreparer, User> asm = ConfigureType <MappingPreparerDTO_StaticPreparer>();
            MappingPreparerDTO_StaticPreparer dto = asm.AssembleFrom(m_user);

            Assert.AreEqual(77, dto.Id);
            Assert.AreEqual("custom_mapping_StaticPreparer", dto.FullName);
        }
 public static void Convert(ref MappingPreparerDTO_StaticPreparer dto, ref User user)
 {
     dto.FullName = "custom_mapping_StaticPreparer";
 }
 public static void Convert(ref MappingPreparerDTO_StaticPreparer dto, ref User user)
 {
     dto.FullName = "custom_mapping_StaticPreparer";
 }