<PackageReference Include="System.Runtime.Serialization.Formatters" Version="11.0.0-preview.6.26359.118" />

System.Runtime.Serialization.ISurrogateSelector

public interface ISurrogateSelector
Indicates a serialization surrogate selector class.

Specifies the next ISurrogateSelector for surrogates to examine if the current instance does not have a surrogate for the specified type and assembly in the specified context.

Returns the next surrogate selector in the chain.

Finds the surrogate that represents the specified object's type, starting with the specified surrogate selector for the specified serialization context.