public HelpExampleOutput(MarkdownExampleHelpInfo exampleInfo)
 {
     ExampleInfo = exampleInfo;
 }
Beispiel #2
0
 public PsHelpExampleInfo(MarkdownExampleHelpInfo markdownExample)
 {
     Title   = markdownExample.Name;
     Code    = markdownExample.Code;
     Remarks = markdownExample.Description;
 }
 public static HelpExampleOutput ToHelpExampleOutput(this MarkdownExampleHelpInfo exampleInfo) => new HelpExampleOutput(exampleInfo);