Share via


IDataSerializer<TModel> Interface

Represents an interface for data serializer.

Namespace:  Microsoft.Owin.Security.DataHandler.Serializer
Assembly:  Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)

Syntax

'Declaration
Public Interface IDataSerializer(Of TModel)
'Usage
Dim instance As IDataSerializer(Of TModel)
public interface IDataSerializer<TModel>
generic<typename TModel>
public interface class IDataSerializer
type IDataSerializer<'TModel> =  interface end
JScript does not support generic types and methods.

Type Parameters

  • TModel
    The type of model for the data.

The IDataSerializer<TModel> type exposes the following members.

Methods

  Name Description
Public method Deserialize Deserializes the specified data.
Public method Serialize Serializes a data with a given model.

Top

See Also

Reference

Microsoft.Owin.Security.DataHandler.Serializer Namespace