private static void FindProperty(IList <CustomProperty> properties, string key, object value) { CustomProperty compareProperty = null; foreach (var elt in properties) { if (elt.Name == key) { compareProperty = elt; break; } } Assert.IsNotNull(compareProperty); Assert.AreEqual(value, compareProperty.GetValue()); }
public override object GetValue(object component) { return(m_Property.GetValue(component)); }