public void Non_Static_Helper() { IAssembler <MappingHelperDTO_InstanceHelper, User> asm = ConfigureType <MappingHelperDTO_InstanceHelper>(); MappingHelperDTO_InstanceHelper dto = asm.AssembleFrom(m_user); Assert.AreEqual(77, dto.Id); Assert.AreEqual("custom_mapping_InstanceHelper", dto.FullName); }
public void Helper(ref MappingHelperDTO_InstanceHelper dto, ref User user) { dto.FullName = "custom_mapping_InstanceHelper"; }