private static void WriteObsoleteInfo(this MamlWriter writer) { writer.StartAlert(AlertClass.Note); writer.StartParagraph(); writer.WriteString("This XML entity is now obsolete."); writer.EndParagraph(); writer.EndAlert(); }
private static void WriteObsoleteInfo(this MamlWriter writer, Topic topic) { writer.StartAlert(AlertClass.Note); writer.StartParagraph(); writer.WriteString("This XML entity is now obsolete. The non-obsolete alternative is "); writer.WriteTopicLink(topic); writer.EndParagraph(); writer.EndAlert(); }