// ReSharper restore UnusedMember.Global
 // ReSharper disable UnusedMember.Global
 public static void Init(string[] args)
 {
     //            mapper = GetMapper();
     propsSource = new BenchSourceProps();
     propsDest = new BenchDestinationProps();
     ConfigureDitto();
     ConfigureAutoMapper();
 }
// ReSharper disable UnusedMember.Global
        public static void Init(string[] args)
// ReSharper restore UnusedMember.Global
        {
//            mapper = GetMapper();
            propsSource = new BenchSourceProps();
            propsDest   = new BenchDestinationProps();
            ConfigureDitto();
            ConfigureAutoMapper();
        }
        private static BenchDestinationProps Map(BenchSourceProps s, BenchDestinationProps d)
        {
            if (s == null)
            {
                return(null);
            }
            if (d == null)
            {
                d = new BenchDestinationProps();
            }
            d.i1 = Map(s.i1, d.i1);
            d.i2 = Map(s.i2, d.i2);
            d.i3 = Map(s.i3, d.i3);
            d.i4 = Map(s.i4, d.i4);
            d.i5 = Map(s.i5, d.i5);
            d.i6 = Map(s.i6, d.i6);
            d.i7 = Map(s.i7, d.i7);
            d.i8 = Map(s.i8, d.i8);

            d.n2 = s.n2;
            d.n3 = s.n3;
            d.n4 = s.n4;
            d.n5 = s.n5;
            d.n6 = s.n6;
            d.n7 = s.n7;
            d.n8 = s.n8;
            d.n9 = s.n9;

            d.s1 = s.s1;
            d.s2 = s.s2;
            d.s3 = s.s3;
            d.s4 = s.s4;
            d.s5 = s.s5;
            d.s6 = s.s6;
            d.s7 = s.s7;

            return(d);
        }
 private static BenchDestinationProps.Int1 Map(BenchSourceProps.Int1 s, BenchDestinationProps.Int1 d)
 {
     if (s == null)
     {
         return null;
     }
     if (d == null)
     {
         d = new BenchDestinationProps.Int1();
     }
     d.i = s.i;
     d.str1 = s.str1;
     d.str2 = s.str2;
     return d;
 }
        private static BenchDestinationProps Map(BenchSourceProps s, BenchDestinationProps d)
        {
            if (s == null)
            {
                return null;
            }
            if (d == null)
            {
                d = new BenchDestinationProps();
            }
            d.i1 = Map(s.i1, d.i1);
            d.i2 = Map(s.i2, d.i2);
            d.i3 = Map(s.i3, d.i3);
            d.i4 = Map(s.i4, d.i4);
            d.i5 = Map(s.i5, d.i5);
            d.i6 = Map(s.i6, d.i6);
            d.i7 = Map(s.i7, d.i7);
            d.i8 = Map(s.i8, d.i8);

            d.n2 = s.n2;
            d.n3 = s.n3;
            d.n4 = s.n4;
            d.n5 = s.n5;
            d.n6 = s.n6;
            d.n7 = s.n7;
            d.n8 = s.n8;
            d.n9 = s.n9;

            d.s1 = s.s1;
            d.s2 = s.s2;
            d.s3 = s.s3;
            d.s4 = s.s4;
            d.s5 = s.s5;
            d.s6 = s.s6;
            d.s7 = s.s7;

            return d;
        }
        private static BenchDestinationProps.Int2 Map(BenchSourceProps.Int2 s, BenchDestinationProps.Int2 d)
        {
            if (s == null)
            {
                return null;
            }

            if (d == null)
            {
                d = new BenchDestinationProps.Int2();
            }
            d.i1 = Map(s.i1, d.i1);
            d.i2 = Map(s.i2, d.i2);
            d.i3 = Map(s.i3, d.i3);
            d.i4 = Map(s.i4, d.i4);
            d.i5 = Map(s.i5, d.i5);
            d.i6 = Map(s.i6, d.i6);
            d.i7 = Map(s.i7, d.i7);

            return d;
        }