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); }
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); }