示例#1
0
文件: Grid.cs 项目: gzlive/behaven
        /// <summary>
        /// Gets the property info specified by the header.
        /// </summary>
        /// <param name="type">The type containing the property.</param>
        /// <param name="header">The header.</param>
        /// <returns>The property info.</returns>
        private PropertyInfo GetPropertyInfo(Type type, string header)
        {
            string propertyName = NameComparer.NormalizeName(header);

            return(ValueGetter.GetPropertyInfo(type, propertyName));
        }