IsPropertyDefined() public static method

public static IsPropertyDefined ( string propertyName, IDictionaryAdapter dictionaryAdapter ) : bool
propertyName string
dictionaryAdapter IDictionaryAdapter
return bool
Esempio n. 1
0
        bool IDictionaryCopyStrategy.Copy(IDictionaryAdapter source, IDictionaryAdapter target, ref Predicate <PropertyDescriptor> selector)
        {
            var select = selector ?? (property => true);

            selector = property => select(property) && XPathAdapter.IsPropertyDefined(property.PropertyName, source, this);
            return(false);
        }
Esempio n. 2
0
 bool IDictionaryCopyStrategy.Copy(IDictionaryAdapter source, IDictionaryAdapter target, ref Func <PropertyDescriptor, bool> selector)
 {
     selector = selector ?? (property => XPathAdapter.IsPropertyDefined(property.PropertyName, source, this));
     return(false);
 }