예제 #1
0
파일: Program.cs 프로젝트: Cijaiz/demo
        public void Map(object input, object output)
        {
            In = new InClass() { Name = "CIAJI", LastnAME = "ANANTHNAS", Age = 29 };
            Out = new OutClass() { ID = 1 };

            MapperManager.Map<OutClass, InClass>(In, Out);
        }
예제 #2
0
        public void Map(object input, object output)
        {
            In = new InClass()
            {
                Name = "CIAJI", LastnAME = "ANANTHNAS", Age = 29
            };
            Out = new OutClass()
            {
                ID = 1
            };

            MapperManager.Map <OutClass, InClass>(In, Out);
        }