Click or drag to resize

XmlSurrogateSelectorAddSurrogate(XmlSerializationSurrogateForAttribute, IXmlSerializationSurrogate) Method

Adds a surrogate for the type specified in the XmlSerializationForAttribute.

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void AddSurrogate(
	XmlSerializationSurrogateForAttribute attr,
	IXmlSerializationSurrogate surrogate
)

Parameters

attr  XmlSerializationSurrogateForAttribute
The attribute used to describe the type this surrogate is intended for.
surrogate  IXmlSerializationSurrogate
The surrogate used to serialize/deserialize the type.
See Also