Пример #1
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);
        }
Пример #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);
        }