London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IFragmentParser

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

Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 10.10.4
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