File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/Render/BitzArt.XDoc.PlainText Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,19 @@ public static class XDocExtensions
9
9
/// Renders the documentation of a <see cref="Type"/> as plain text.
10
10
/// </summary>
11
11
/// <param name="documentation"></param>
12
+ /// <param name="useShortTypeNames"></param>
12
13
/// <param name="forceSingleLine"></param>
13
14
/// <returns></returns>
14
- public static string ToPlainText ( this MemberDocumentation ? documentation , bool forceSingleLine = false )
15
+ public static string ToPlainText (
16
+ this MemberDocumentation ? documentation ,
17
+ bool forceSingleLine = false ,
18
+ bool useShortTypeNames = true )
15
19
{
16
20
if ( documentation == null )
17
21
{
18
22
return string . Empty ;
19
23
}
20
-
21
- return PlainTextRenderer . Render ( documentation , forceSingleLine ) ;
24
+
25
+ return PlainTextRenderer . Render ( documentation , forceSingleLine , useShortTypeNames ) ;
22
26
}
23
27
}
You can’t perform that action at this time.
0 commit comments