Пример #1
0
        public bool IsProperty(String property)
        {
            VariantPropertyDesc entry = _propertyDesc.Get(property);

            if (entry != null)
            {
                return(entry.IsProperty);
            }
            entry = FindProperty(property);
            if (entry != null)
            {
                return(entry.IsProperty);
            }
            return(false);
        }
Пример #2
0
        public Type GetPropertyType(String property)
        {
            VariantPropertyDesc entry = _propertyDesc.Get(property);

            if (entry != null)
            {
                return(entry.PropertyType);
            }
            entry = FindProperty(property);
            if (entry != null)
            {
                return(entry.PropertyType);
            }
            return(null);
        }
Пример #3
0
        public EventPropertyGetter GetGetter(String property)
        {
            VariantPropertyDesc entry = _propertyDesc.Get(property);

            if (entry != null)
            {
                return(entry.Getter);
            }
            entry = FindProperty(property);
            if (entry != null)
            {
                return(entry.Getter);
            }
            return(null);
        }