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