public static CodeWriter WriteXmlDocumentationParameter(this CodeWriter writer, string name, string?text) { return(writer.WriteDocumentationLines($"<param name=\"{name}\">", "</param>", text, skipWhenEmpty: false)); }
public static CodeWriter WriteXmlDocumentationException(this CodeWriter writer, Type exception, string?description) { return(writer.WriteDocumentationLines($"<exception cref=\"{exception.FullName}\">", "</exception>", description, skipWhenEmpty: false)); }
public static CodeWriter WriteXmlDocumentation(this CodeWriter writer, string tag, string?text) { return(writer.WriteDocumentationLines($"<{tag}>", $"</{tag}>", text)); }