Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<string> ToEnumerable(object, bool)

  • Declared in: RT.TagSoup.Tag

Declaration

public static IEnumerable<string> ToEnumerable(
    object tagTree,
    bool allTags = false
)

Summary

Converts a tag tree into a string that is generated bit by bit.

Parameters

objecttagTree The tag tree to convert.
boolallTags The HTML specification allows certain start and end tags to be omitted. Specify true to emit such tags regardless, for compatibility reasons.

Returns

A collection that generates the entire tag tree as a string.