PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Serializer­Attribute Class / Serializer­Attribute Properties / Serializer­Attribute.​Serializer­Type Property

SerializerAttribute.SerializerType Property

Gets the serializer type.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public Type SerializerType { get; }

Property Value

Type: Type
Remarks
This type must implement ISerializer or ISerializerFactory, and must have a public default constructor. If SerializerType is a generic type, if must have the same number of generic type parameters as the target type, and have a compatible set of constraints.
See Also