Пример #1
0
        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());
        }
Пример #2
0
 public override object GetValue(object component)
 {
     return(m_Property.GetValue(component));
 }