• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockEditorValues<TValue, TLayout>

    Used to deserialize json values and clean up any values based on the existence of element types and layout structure.

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

    Constructors

    View Source

    BlockEditorValues(BlockEditorDataConverter<TValue, TLayout>, IBlockEditorElementTypeCache, ILogger)

    Declaration
    public BlockEditorValues(BlockEditorDataConverter<TValue, TLayout> dataConverter, IBlockEditorElementTypeCache elementTypeCache, ILogger logger)
    Parameters
    Type Name Description
    BlockEditorDataConverter<TValue, TLayout> dataConverter
    IBlockEditorElementTypeCache elementTypeCache
    ILogger logger

    Methods

    View Source

    ConvertAndClean(TValue)

    Declaration
    public BlockEditorData<TValue, TLayout> ConvertAndClean(TValue blockValue)
    Parameters
    Type Name Description
    TValue blockValue
    Returns
    Type Description
    BlockEditorData<TValue, TLayout>
    View Source

    DeserializeAndClean(Object)

    Declaration
    public BlockEditorData<TValue, TLayout> DeserializeAndClean(object propertyValue)
    Parameters
    Type Name Description
    System.Object propertyValue
    Returns
    Type Description
    BlockEditorData<TValue, TLayout>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockEditorValues(BlockEditorDataConverter<TValue, TLayout>, IBlockEditorElementTypeCache, ILogger)
    • Methods
      • ConvertAndClean(TValue)
      • DeserializeAndClean(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX