Document how to add a custom TypeConverter for AxHost.State serialization
Open
:books: documentation
area-COM
area-Serialization-BinaryFormatter-FeatureWork
tracking-external-issue
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 103
Description
In order to avoid `BinaryFormatter` you need a custom `TypeConverter` for `AxHost.State` to serialize without it. We have an existing converter `AxHost.StateConverter` that does this, but it isn't actually registered for `AxHost.State`. We may decide to register it eventually, but even if we do, to support cross compilation with .NET Framework it's necessary to know how to inject a `TypeConverter` at runtime versus the normal way of applying an attribute.
`TypeConverter` docs should be updated with this how-to that we then refer to in our docs. Afaik it isn't described anywhere.
Contributor guide
Assessment
This issue has not been assessed yet.