Пример #1
0
        public void dynamic_speed_test()
        {
            dynamic data = new ExpandoObject();

            data.Id        = 1;
            data.Address01 = "Address01";
            data.PostCode  = "PostCode";
            data.NotThis   = "ignore";

            Profiler.All("map", 100000, () => ObjectMapper.Map <Property>(data));
        }