Serializer Constructor (IDictionary<Type, JsonEncoder>, Serializer)
Creates a serializer object, deriving from a base serializer object, and initialized with a collection of encoder delegates and associated types.
Namespace: Microsoft.SharePoint.JsonUtilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
encoders As IDictionary(Of Type, JsonEncoder), _
baseSerializer As Serializer _
)
'Usage
Dim encoders As IDictionary(Of Type, JsonEncoder)
Dim baseSerializer As Serializer
Dim instance As New Serializer(encoders, _
baseSerializer)
public Serializer(
IDictionary<Type, JsonEncoder> encoders,
Serializer baseSerializer
)
Parameters
encoders
Type: System.Collections.Generic.IDictionary<Type, JsonEncoder>A dictionary mapping types to encoders.
baseSerializer
Type: Microsoft.SharePoint.JsonUtilities.SerializerA base serializer object.