コード例 #1
0
        public void ReadOnlyPropertyExceptionException_Exception()
        {
            MapperConfigurationTestContainer expected = new MapperConfigurationTestContainer();

            expected.ForMember(s => s.PropInt1, d => d.RealOnlyPropInt1);
            expected.CreateMappingExpression(null);
        }
コード例 #2
0
        public void NotSameTypePropertyException_Exception()
        {
            MapperConfigurationTestContainer expected = new MapperConfigurationTestContainer();

            expected.ForMember(s => s.PropInt1, d => d.PropString2);
            expected.CreateMappingExpression(null);
        }
コード例 #3
0
 public void ReadOnlyPropertyExceptionException_Exception()
 {
     MapperConfigurationTestContainer expected = new MapperConfigurationTestContainer();
     expected.ForMember(s => s.PropInt1, d => d.RealOnlyPropInt1);
     expected.CreateMappingExpression(null);
 }
コード例 #4
0
 public void NotSameTypePropertyException_Exception()
 {
     MapperConfigurationTestContainer expected = new MapperConfigurationTestContainer();
     expected.ForMember(s => s.PropInt1, d => d.PropString2);
     expected.CreateMappingExpression(null);
 }