Framework/Atf.Core/SearchAndReplace/DomNodeNamePredicate.cs
/// <summary>
/// Gets an enumeration of properties for a specific DomNode</summary>
/// <param name="node">DomNode on which to obtain properties</param>
/// <returns>Enumeration of properties</returns>
Gets an enumeration of properties for a specific DomNode
Gets an enumeration of properties for a specific DomNode
static internal PropertyDescriptorCollection GetDomNodeProperties(DomNode node)
        {
            if (node == null)
                return null;
            ICustomTypeDescriptor iCustomTypeDescriptor = node.GetAdapter(typeof(CustomTypeDescriptorNodeAdapter)) as ICustomTypeDescriptor;
            if (iCustomTypeDescriptor == null)
                return null;
            PropertyDescriptorCollection properties = iCustomTypeDescriptor.GetProperties();
            return properties;
        }
static internal PropertyDescriptorCollection GetDomNodeProperties ( DomNode node ) { if ( node == null ) return null ; ICustomTypeDescriptor iCustomTypeDescriptor = node . GetAdapter ( typeof ( CustomTypeDescriptorNodeAdapter ) ) as ICustomTypeDescriptor ; if ( iCustomTypeDescriptor == null ) return null ; PropertyDescriptorCollection properties = iCustomTypeDescriptor . GetProperties ( ) ; return properties ; }
Gets an enumeration of properties for a specific DomNode
Gets an enumeration of properties for a specific DomNode
Enumeration of properties
Enumeration of properties
node
DomNode
DomNode on which to obtain properties
DomNode on which to obtain properties