Sage Modeling and Simulation Library

XmlSerializationContext..::..AddSerializer Method

Adds a serializer to the XmlSerializationContext for the specified target type.

Namespace:  Highpoint.Sage.Persistence
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void AddSerializer(
	Type targetType,
	ISerializer serializer
)

Parameters

targetType
Type: Type
Type of the target.
serializer
Type: Highpoint.Sage.Persistence..::..ISerializer
The serializer.