コード例 #1
0
        public void AfterSet_TheSameValueIsReturned()
        {
            var instance = new Grid();

            sut.SetValue(property, instance, SomeValue);
            var actual = sut.GetValue(property, instance);

            Assert.Equal(SomeValue, actual);
        }
コード例 #2
0
 public void SetValue(AttachedProperty property, object instance, object value)
 {
     attachedEngine.SetValue(property, instance, value);
 }