HelpExample GetExample(ExampleAttribute attribute) { var help = new HelpExample(); help.Example = attribute.ExampleCode; help.Description = GetLocalized(attribute.DescriptionKey); help.IsFile = attribute.IsFile; return help; }