PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Serializer­Factory­Provider Class / Serializer­Factory­Provider Methods / Serializer­Factory­Provider.​Add­Serializer Method

SerializerFactoryProvider.AddSerializer Method

Overload List
  NameDescription
Public methodAddSerializer<TObject, TSerializer>()
Maps an object type to a serializer type (using generic type parameters).
Public methodAddSerializer(Type, Type)
Maps an object type to a serializer type.
See Also