public HelpExampleOutput(MarkdownExampleHelpInfo exampleInfo)
 {
     ExampleInfo = exampleInfo;
 }
Пример #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);