Try our conversational search powered by Generative AI!

Interface IFragmentParser

Defines the signature for a parser that parses content into fragments.

Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IFragmentParser

Methods

Parse(String, FragmentParserMode, Boolean)

Parses the specified content into fragments.

Declaration
StringFragmentCollection Parse(string content, FragmentParserMode parserMode, bool evaluateHash)
Parameters
Type Name Description
System.String content

The content to parse

FragmentParserMode parserMode

Defines the mode for the parser.

System.Boolean evaluateHash

if set to true any found hashes should be evaluated.

Returns
Type Description
StringFragmentCollection

A list of fragments

Extension Methods