Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockValuePropertyValueEditorBase<TValue, TLayout>

    Inheritance
    System.Object
    DataValueEditor
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class BlockValuePropertyValueEditorBase<TValue, TLayout> : DataValueEditor, IDataValueEditor, IDataValueReference, IDataValueTags where TValue : BlockValue<TLayout>, new()
        where TLayout : class, IBlockLayoutItem, new()
    Type Parameters
    Name Description
    TValue
    TLayout

    Constructors

    View Source

    BlockValuePropertyValueEditorBase(DataEditorAttribute, PropertyEditorCollection, IDataTypeConfigurationCache, ILocalizedTextService, ILogger, IShortStringHelper, IJsonSerializer, IIOHelper, DataValueReferenceFactoryCollection)

    Declaration
    protected BlockValuePropertyValueEditorBase(DataEditorAttribute attribute, PropertyEditorCollection propertyEditors, IDataTypeConfigurationCache dataTypeConfigurationCache, ILocalizedTextService textService, ILogger logger, IShortStringHelper shortStringHelper, IJsonSerializer jsonSerializer, IIOHelper ioHelper, DataValueReferenceFactoryCollection dataValueReferenceFactoryCollection)
    Parameters
    Type Name Description
    DataEditorAttribute attribute
    PropertyEditorCollection propertyEditors
    IDataTypeConfigurationCache dataTypeConfigurationCache
    ILocalizedTextService textService
    ILogger logger
    IShortStringHelper shortStringHelper
    IJsonSerializer jsonSerializer
    IIOHelper ioHelper
    DataValueReferenceFactoryCollection dataValueReferenceFactoryCollection

    Methods

    View Source

    ConfiguredElementTypeKeys(IBlockConfiguration)

    Declaration
    protected IEnumerable<Guid> ConfiguredElementTypeKeys(IBlockConfiguration configuration)
    Parameters
    Type Name Description
    IBlockConfiguration configuration
    Returns
    Type Description
    IEnumerable<Guid>
    View Source

    GetBlockValueReferences(TValue)

    Declaration
    protected IEnumerable<UmbracoEntityReference> GetBlockValueReferences(TValue blockValue)
    Parameters
    Type Name Description
    TValue blockValue
    Returns
    Type Description
    IEnumerable<UmbracoEntityReference>
    View Source

    GetBlockValueTags(TValue, Nullable<Int32>)

    Declaration
    protected IEnumerable<ITag> GetBlockValueTags(TValue blockValue, int? languageId)
    Parameters
    Type Name Description
    TValue blockValue
    System.Nullable<System.Int32> languageId
    Returns
    Type Description
    IEnumerable<ITag>
    View Source

    GetReferences(Object)

    Declaration
    public abstract IEnumerable<UmbracoEntityReference> GetReferences(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type Description
    IEnumerable<UmbracoEntityReference>
    View Source

    GetTags(Object, Object, Nullable<Int32>)

    Declaration
    public abstract IEnumerable<ITag> GetTags(object value, object dataTypeConfiguration, int? languageId)
    Parameters
    Type Name Description
    System.Object value
    System.Object dataTypeConfiguration
    System.Nullable<System.Int32> languageId
    Returns
    Type Description
    IEnumerable<ITag>
    View Source

    MapBlockValueFromEditor(TValue)

    Declaration
    protected void MapBlockValueFromEditor(TValue blockValue)
    Parameters
    Type Name Description
    TValue blockValue
    View Source

    MapBlockValueToEditor(IProperty, TValue)

    Declaration
    protected void MapBlockValueToEditor(IProperty property, TValue blockValue)
    Parameters
    Type Name Description
    IProperty property
    TValue blockValue
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockValuePropertyValueEditorBase(DataEditorAttribute, PropertyEditorCollection, IDataTypeConfigurationCache, ILocalizedTextService, ILogger, IShortStringHelper, IJsonSerializer, IIOHelper, DataValueReferenceFactoryCollection)
    • Methods
      • ConfiguredElementTypeKeys(IBlockConfiguration)
      • GetBlockValueReferences(TValue)
      • GetBlockValueTags(TValue, Nullable<Int32>)
      • GetReferences(Object)
      • GetTags(Object, Object, Nullable<Int32>)
      • MapBlockValueFromEditor(TValue)
      • MapBlockValueToEditor(IProperty, TValue)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX