View Source
Class MsgPackContentNestedDataSerializer
Inheritance
System.Object
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
View Source
Serialize(IReadOnlyContentBase, ContentCacheDataModel, Boolean)
Declaration
public ContentCacheDataSerializationResult Serialize(IReadOnlyContentBase content, ContentCacheDataModel model, bool published)
Parameters
Returns
View Source
ToJson(Byte[])
Declaration
public string ToJson(byte[] bin)
Parameters
Type |
Name |
Description |
System.Byte[] |
bin |
|
Returns
Type |
Description |
System.String |
|