Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMacroParser

    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMacroParser

    Methods

    View Source

    FromArtifact(String)

    Parses an artifact property value and produces an Umbraco property value.

    Declaration
    string FromArtifact(string value)
    Parameters
    Type Name Description
    System.String value

    Artifact property value.

    Returns
    Type Description
    System.String

    Parsed value.

    View Source

    ReplaceAttributeValue(String, String, ICollection<Udi>, Direction)

    Tries to replace the value of the attribute/parameter with a value containing a converted identifier.

    Declaration
    string ReplaceAttributeValue(string value, string editorAlias, ICollection<Udi> dependencies, Direction direction)
    Parameters
    Type Name Description
    System.String value

    Value to attempt to convert

    System.String editorAlias

    Alias of the editor used for the parameter

    ICollection<Udi> dependencies

    Collection to add dependencies to when performing ToArtifact

    Direction direction

    Indicates which action is being performed (to or from artifact)

    Returns
    Type Description
    System.String

    Value with converted identifiers

    View Source

    ToArtifact(String, ICollection<Udi>)

    Parses an Umbraco property value and produces an artifact property value.

    Declaration
    string ToArtifact(string value, ICollection<Udi> dependencies)
    Parameters
    Type Name Description
    System.String value

    Property value.

    ICollection<Udi> dependencies

    A list of dependencies.

    Returns
    Type Description
    System.String

    Parsed value.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • FromArtifact(String)
      • ReplaceAttributeValue(String, String, ICollection<Udi>, Direction)
      • ToArtifact(String, ICollection<Udi>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX