• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockListPropertyEditor

    Represents a block list property editor.

    Inheritance
    System.Object
    DataEditor
    BlockListPropertyEditorBase
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class BlockListPropertyEditor : BlockListPropertyEditorBase, IDataEditor, IDiscoverable

    Constructors

    View Source

    BlockListPropertyEditor(IDataValueEditorFactory, IIOHelper, IBlockValuePropertyIndexValueFactory, IJsonSerializer)

    Initializes a new instance of the BlockListPropertyEditor class.

    Declaration
    public BlockListPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory, IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    IIOHelper ioHelper
    IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory
    IJsonSerializer jsonSerializer
    View Source

    BlockListPropertyEditor(IDataValueEditorFactory, PropertyEditorCollection, IIOHelper, IBlockValuePropertyIndexValueFactory, IJsonSerializer)

    Initializes a new instance of the BlockListPropertyEditor class.

    Declaration
    public BlockListPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, PropertyEditorCollection propertyEditors, IIOHelper ioHelper, IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory, IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    PropertyEditorCollection propertyEditors
    IIOHelper ioHelper
    IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory
    IJsonSerializer jsonSerializer

    Properties

    View Source

    SupportsConfigurableElements

    Declaration
    public override bool SupportsConfigurableElements { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    View Source

    CanMergePartialPropertyValues(IPropertyType)

    Determines if the value editor needs to perform MergePartialPropertyValueForCulture(Object, Object, String) for a given property type.

    Declaration
    public override bool CanMergePartialPropertyValues(IPropertyType propertyType)
    Parameters
    Type Name Description
    IPropertyType propertyType
    Returns
    Type Description
    System.Boolean
    View Source

    CreateConfigurationEditor()

    Creates a configuration editor instance.

    Declaration
    protected override IConfigurationEditor CreateConfigurationEditor()
    Returns
    Type Description
    IConfigurationEditor
    View Source

    MergePartialPropertyValueForCulture(Object, Object, String)

    Partially merges a source property value into a target property value for a given culture.

    Declaration
    public override object MergePartialPropertyValueForCulture(object sourceValue, object targetValue, string culture)
    Parameters
    Type Name Description
    System.Object sourceValue

    The source property value.

    System.Object targetValue

    The target property value.

    System.String culture

    The culture (or null for invariant).

    Returns
    Type Description
    System.Object

    The result of the merge operation.

    View Source

    MergeVariantInvariantPropertyValue(Object, Object, Boolean, HashSet<String>)

    Declaration
    public override object MergeVariantInvariantPropertyValue(object sourceValue, object targetValue, bool canUpdateInvariantData, HashSet<string> allowedCultures)
    Parameters
    Type Name Description
    System.Object sourceValue
    System.Object targetValue
    System.Boolean canUpdateInvariantData
    HashSet<System.String> allowedCultures
    Returns
    Type Description
    System.Object
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockListPropertyEditor(IDataValueEditorFactory, IIOHelper, IBlockValuePropertyIndexValueFactory, IJsonSerializer)
      • BlockListPropertyEditor(IDataValueEditorFactory, PropertyEditorCollection, IIOHelper, IBlockValuePropertyIndexValueFactory, IJsonSerializer)
    • Properties
      • SupportsConfigurableElements
    • Methods
      • CanMergePartialPropertyValues(IPropertyType)
      • CreateConfigurationEditor()
      • MergePartialPropertyValueForCulture(Object, Object, String)
      • MergeVariantInvariantPropertyValue(Object, Object, Boolean, HashSet<String>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX