Class FragmentParser
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Parses a html string to static and dynamic fragments. Dynamic fragments can be either
permanent links or dynamic content.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Core.Html.StringParsing.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration(typeof(IFragmentParser), FactoryType = typeof(FragmentParserFactory), FactoryMember = "CreateDefaultParser")]
public class FragmentParser : IFragmentParser
Constructors
FragmentParser(IFragmentElementHandler[], IFragmentAttributeHandler[])
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the FragmentParser class.
Declaration
public FragmentParser(IFragmentElementHandler[] fragmentElementHandlers, IFragmentAttributeHandler[] fragmentAttributeHandlers)
Parameters
Type | Name | Description |
---|---|---|
IFragmentElementHandler[] | fragmentElementHandlers | The fragment element handlers. |
IFragmentAttributeHandler[] | fragmentAttributeHandlers | The fragment attribute handlers. |
Methods
Parse(String, FragmentParserMode, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This class and its members are reserved for internal use and will be refectored to next release.
Declaration
public StringFragmentCollection Parse(string html, FragmentParserMode parserMode, bool evaluateHash)
Parameters
Type | Name | Description |
---|---|---|
System.String | html | The HTML. |
FragmentParserMode | parserMode | The parser mode to use. |
System.Boolean | evaluateHash | if set to |
Returns
Type | Description |
---|---|
StringFragmentCollection | A list of IStringFragments. |