System.Runtime.Serialization.SurrogateSelector
Assists formatters in selection of the serialization surrogate to delegate the serialization or deserialization process to.
public SurrogateSelector()
Initializes a new instance of the SurrogateSelector class.
public virtual void AddSurrogate(Type type, StreamingContext context, ISerializationSurrogate surrogate)
Adds a surrogate to the list of checked surrogates.
Adds the specified ISurrogateSelector that can handle a particular object type to the list of surrogates.
Returns the next selector on the chain of selectors.
public virtual ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector selector)
Returns the surrogate for a particular type.
Removes the surrogate associated with a given type.