示例#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);
        }