Пример #1
0
            public void AssertOnLeaves(object obj)
            {
                var i = _enclosing.IterateStringFieldsOnObject(obj);

                while (i.MoveNext())
                {
                    var fieldOnObject = (FieldOnObject)i.Current;
                    Assert.AreNotEqual("modified", fieldOnObject._field.Get(fieldOnObject._object));
                }
            }
Пример #2
0
 public object Apply(object current)
 {
     return(_enclosing.IterateStringFieldsOnObject(current));
 }