IElementExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IElementExtensions"] class Type type-node

Syntax

public static class IElementExtensions

Methods

Name Return Value Summary
FormattedInnerHtml(IElement) string
Calls IMarkupFormattable.ToHtml using the StatiqMarkupFormatter so that processing instructions and character references are properly handled. This should be used for serialization when ParseHtmlAsync(IDocument, bool) is used.
static
FormattedOuterHtml(IElement) string
Calls IMarkupFormattable.ToHtml using the StatiqMarkupFormatter so that processing instructions and character references are properly handled. This should be used for serialization when ParseHtmlAsync(IDocument, bool) is used.
static