Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IValueConnector2

    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IValueConnector2 : IValueConnector
    Remarks

    This interface will be merged back into IValueConnector and removed in Umbraco 13.

    Methods

    View Source

    FromArtifact(String, IPropertyType, Object, IContextCache)

    Gets the content property value corresponding to a deploy property value.

    Declaration
    object FromArtifact(string value, IPropertyType propertyType, object currentValue, IContextCache contextCache)
    Parameters
    Type Name Description
    System.String value

    The deploy property value.

    IPropertyType propertyType

    The value property type

    System.Object currentValue

    The current content property value.

    IContextCache contextCache

    The context cache.

    Returns
    Type Description
    System.Object

    The content property value.

    View Source

    ToArtifact(Object, IPropertyType, ICollection<ArtifactDependency>, IContextCache)

    Gets the deploy property value corresponding to a content property value, and gather dependencies.

    Declaration
    string ToArtifact(object value, IPropertyType propertyType, ICollection<ArtifactDependency> dependencies, IContextCache contextCache)
    Parameters
    Type Name Description
    System.Object value

    The content property value.

    IPropertyType propertyType

    The value property type

    ICollection<ArtifactDependency> dependencies

    The content dependencies.

    IContextCache contextCache

    The context cache.

    Returns
    Type Description
    System.String

    The deploy property value.

    Explicit Interface Implementations

    View Source

    IValueConnector.FromArtifact(String, IPropertyType, Object)

    Gets the content property value corresponding to a deploy property value.

    Declaration
    object IValueConnector.FromArtifact(string value, IPropertyType propertyType, object currentValue)
    Parameters
    Type Name Description
    System.String value

    The deploy property value.

    IPropertyType propertyType

    The value property type

    System.Object currentValue

    The current content property value.

    Returns
    Type Description
    System.Object

    The content property value.

    View Source

    IValueConnector.ToArtifact(Object, IPropertyType, ICollection<ArtifactDependency>)

    Gets the deploy property value corresponding to a content property value, and gather dependencies.

    Declaration
    string IValueConnector.ToArtifact(object value, IPropertyType propertyType, ICollection<ArtifactDependency> dependencies)
    Parameters
    Type Name Description
    System.Object value

    The content property value.

    IPropertyType propertyType

    The value property type

    ICollection<ArtifactDependency> dependencies

    The content dependencies.

    Returns
    Type Description
    System.String

    The deploy property value.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • FromArtifact(String, IPropertyType, Object, IContextCache)
      • ToArtifact(Object, IPropertyType, ICollection<ArtifactDependency>, IContextCache)
    • Explicit Interface Implementations
      • IValueConnector.FromArtifact(String, IPropertyType, Object)
      • IValueConnector.ToArtifact(Object, IPropertyType, ICollection<ArtifactDependency>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX