Interface IHtmlMacroParameterParser
Provides methods to parse referenced entities as Macro parameters.
Namespace: Umbraco.Cms.Infrastructure.Templates
Assembly: cs.temp.dll.dll
Syntax
public interface IHtmlMacroParameterParser
Methods
FindUmbracoEntityReferencesFromEmbeddedMacros(String)
Parses out media UDIs from an HTML string based on embedded macro parameter values.
Declaration
IEnumerable<UmbracoEntityReference> FindUmbracoEntityReferencesFromEmbeddedMacros(string text)
Parameters
Type | Name | Description |
---|---|---|
System. |
text | HTML string |
Returns
Type | Description |
---|---|
System. |
FindUmbracoEntityReferencesFromGridControlMacros(IEnumerable<GridValue.GridControl>)
Parses out media UDIs from Macro Grid Control parameters.
Declaration
IEnumerable<UmbracoEntityReference> FindUmbracoEntityReferencesFromGridControlMacros(IEnumerable<GridValue.GridControl> macroGridControls)
Parameters
Type | Name | Description |
---|---|---|
System. |
macroGridControls |
Returns
Type | Description |
---|---|
System. |