Beispiel #1
0
        public override void Setup()
        {
            base.Setup();

            dummyClass = new DummyClass {
                Value = 1, Reference = "2"
            };
            dummyStruct = new DummyStruct {
                Value = 3, Reference = "4"
            };
            classValueWrapper      = ReflectionUtility.CreatePropertyWrapper(typeof(DummyClass).GetProperty("Value"));
            classReferenceWrapper  = ReflectionUtility.CreatePropertyWrapper(typeof(DummyClass).GetProperty("Reference"));
            structValueWrapper     = ReflectionUtility.CreatePropertyWrapper(typeof(DummyStruct).GetProperty("Value"));
            structReferenceWrapper = ReflectionUtility.CreatePropertyWrapper(typeof(DummyStruct).GetProperty("Reference"));
        }