PostSharpAPI ReferencePost­Sharp.​SerializationSerializer­AttributeSerializer­Type
Open sandboxFocus

SerializerAttribute.SerializerType Property

SerializerType

Gets the serializer type.

Declaration
public Type SerializerType { get; }
Property Value
Type Description
System.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.