Search Results for

    Show / Hide Table of Contents
    View Source

    Class MsgPackContentNestedDataSerializer

    Serializes/Deserializes ContentCacheDataModel document to the SQL Database as bytes using MessagePack

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.PublishedCache.DataSource
    Assembly: Umbraco.PublishedCache.NuCache.dll
    Syntax
    public class MsgPackContentNestedDataSerializer : IContentCacheDataSerializer

    Constructors

    View Source

    MsgPackContentNestedDataSerializer(IPropertyCacheCompression)

    Declaration
    public MsgPackContentNestedDataSerializer(IPropertyCacheCompression propertyOptions)
    Parameters
    Type Name Description
    IPropertyCacheCompression propertyOptions

    Methods

    View Source

    Deserialize(IReadOnlyContentBase, String, Byte[], Boolean)

    Declaration
    public ContentCacheDataModel Deserialize(IReadOnlyContentBase content, string stringData, byte[] byteData, bool published)
    Parameters
    Type Name Description
    IReadOnlyContentBase content
    System.String stringData
    System.Byte[] byteData
    System.Boolean published
    Returns
    Type Description
    ContentCacheDataModel
    View Source

    Serialize(IReadOnlyContentBase, ContentCacheDataModel, Boolean)

    Declaration
    public ContentCacheDataSerializationResult Serialize(IReadOnlyContentBase content, ContentCacheDataModel model, bool published)
    Parameters
    Type Name Description
    IReadOnlyContentBase content
    ContentCacheDataModel model
    System.Boolean published
    Returns
    Type Description
    ContentCacheDataSerializationResult
    View Source

    ToJson(Byte[])

    Declaration
    public string ToJson(byte[] bin)
    Parameters
    Type Name Description
    System.Byte[] bin
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MsgPackContentNestedDataSerializer(IPropertyCacheCompression)
    • Methods
      • Deserialize(IReadOnlyContentBase, String, Byte[], Boolean)
      • Serialize(IReadOnlyContentBase, ContentCacheDataModel, Boolean)
      • ToJson(Byte[])
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX