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

ImportSerializerAttribute.SerializerType Property

Gets the serializer type.

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

Property Value

Type: Type
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 ObjectType, and have a compatible set of constraints.
See Also