Foreign/SonyLE/LevelEditor/Search/SearchResultsListView.cs
/// <summary>
/// Gets the collection of PropertyDescriptors that make up a DomNode instance</summary>
/// <param name="node">The DomNode whose properties are retrieved</param>
/// <returns>The collection of PropertyDescriptors owned by the specified DomNode</returns>
Gets the collection of PropertyDescriptors that make up a DomNode instance
Gets the collection of PropertyDescriptors that make up a DomNode instance
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 the collection of PropertyDescriptors that make up a DomNode instance
Gets the collection of PropertyDescriptors that make up a DomNode instance
The collection of PropertyDescriptors owned by the specified DomNode
The collection of PropertyDescriptors owned by the specified DomNode
node
DomNode
The DomNode whose properties are retrieved
The DomNode whose properties are retrieved