Example #1
0
            public void Setup()
            {
                obj        = new FastMemberPerformance();
                dlr        = obj;
                prop       = typeof(FastMemberPerformance).GetProperty("Value");
                descriptor = TypeDescriptor.GetProperties(obj)["Value"];

                // FastMember specific code
                accessor = FastMember.TypeAccessor.Create(typeof(FastMemberPerformance));
                wrapped  = FastMember.ObjectAccessor.Create(obj);

                type = typeof(FastMemberPerformance);
            }
Example #2
0
            public void Setup()
            {
                obj = new FastMemberPerformance();
                dlr = obj;
                prop = typeof(FastMemberPerformance).GetProperty("Value");
                descriptor = TypeDescriptor.GetProperties(obj)["Value"];

                // FastMember specific code
                accessor = FastMember.TypeAccessor.Create(typeof(FastMemberPerformance));
                wrapped = FastMember.ObjectAccessor.Create(obj);

                type = typeof(FastMemberPerformance);
            }