PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Serializers Namespace / Data­Contract­Serializer Class / Data­Contract­Serializer Methods / Data­Contract­Serializer.​Create­Serializer Method

DataContractSerializer.CreateSerializer Method

Creates a new XmlObjectSerializer. The default implementation creates a NetDataContractSerializer.

Namespace:  PostSharp.Patterns.Caching.Serializers
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
C#
protected virtual XmlObjectSerializer CreateSerializer()

Return Value

Type: XmlObjectSerializer
A new XmlObjectSerializer.
See Also