Exemple #1
0
        public static string GetParameterInfoRTF([NotNull] PropertyInfo property)
        {
            Assert.ArgumentNotNull(property, nameof(property));

            string displayType = GetParameterDisplayType(property);
            string description = GetParameterDescription(property);

            var rtf = new RichTextBuilder();

            rtf.FontSize(8);
            rtf.Bold(property.Name).Text(" (").Text(displayType).Text(")");
            rtf.LineBreak();
            rtf.Text(description);

            return(rtf.ToRtf());
        }