Share via


TempDataSerializer Class

Definition

Serializes and deserializes the contents of ITempDataDictionary.

public ref class TempDataSerializer abstract
public abstract class TempDataSerializer
type TempDataSerializer = class
Public MustInherit Class TempDataSerializer
Inheritance
TempDataSerializer

Constructors

TempDataSerializer()

Methods

CanSerializeType(Type)

Determines if the serializer supports the specified type.

Defaults to returning true for all Type instances.

Deserialize(Byte[])

Deserializes unprotectedData to a IDictionary<TKey,TValue> used to initialize an instance of ITempDataDictionary.

Serialize(IDictionary<String,Object>)

Serializes the contents of ITempDataDictionary.

Applies to