示例#1
0
        public PropertyTooltipViewModel(PropertyInfo prop)
        {
            Property = prop;

            DisplayName  = DisplayAttribute.GetPropertyDisplayName(prop);
            PropertyName = "{0}.{1}".UseFormat(prop.DeclaringType.Name, prop.Name);
            PropertyType = prop.PropertyType.Name;

            Description   = DisplayAttribute.GetPropertyDescription(prop);
            OnlineHelpURL = Config.PropertyOnlineHelpUrlFormat
                            .UseFormat(prop.DeclaringType.FullName, prop.Name);
            DetailedDescription = null;
        }