IsPropertyDefined() public static method

public static IsPropertyDefined ( string propertyName, IDictionaryAdapter dictionaryAdapter ) : bool
propertyName string
dictionaryAdapter IDictionaryAdapter
return bool
Ejemplo 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);
        }
Ejemplo 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);
 }