Show / Hide Table of Contents

Interface IGetsStructuredMarkup

An object which can get a markup string, which may be inserted directly into a template document without any escaping or encoding.

Namespace: ZptSharp
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IGetsStructuredMarkup
Remarks

Object which implement this interface will be written by TAL content/replace attributes as if they used the structure keyword even if the keyword is not present. Obviously, it is crucial for the developer to ensure that the markup returned by this object is safe. Primarily this means that either the markup contains no user-generated content, or at least that it has been properly sanitised.

Methods

| Improve this Doc View Source

GetMarkupAsync()

Gets the structured markup from the current instance.

Declaration
Task<string> GetMarkupAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.String>

A task which returns a structured markup string (an HTML or XML fragment).

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX