OpenTAP 9.27
API Reference
|
Species a OpenTAP Serializer plugin. More...
Public Member Functions | |
bool | Deserialize (XElement node, ITypeData t, Action< object > setter) |
Called as part for the deserialization chain. Returns false if it cannot serialize the XML element. More... | |
bool | Serialize (XElement node, object obj, ITypeData expectedType) |
Called as part for the serialization chain. Returns false if it cannot serialize the XML element. More... | |
Properties | |
double | Order [get] |
Priority of the serializer. Defines the order in which the serializers are used. Higher order serializers are used first. Default is 0. | |
Species a OpenTAP Serializer plugin.
bool OpenTap.ITapSerializerPlugin.Deserialize | ( | XElement | node, |
ITypeData | t, | ||
Action< object > | setter | ||
) |
Called as part for the deserialization chain. Returns false if it cannot serialize the XML element.
node | |
t | |
setter |
Implemented in OpenTap.Plugins.TestStepSerializer, OpenTap.Plugins.ExternalParameterSerializer, OpenTap.Plugins.DefaultValueSerializer, OpenTap.Plugins.EventsSerializerPlugin, OpenTap.Plugins.InputOutputRelationSerializer, and OpenTap.TapSerializerPlugin.
bool OpenTap.ITapSerializerPlugin.Serialize | ( | XElement | node, |
object | obj, | ||
ITypeData | expectedType | ||
) |
Called as part for the serialization chain. Returns false if it cannot serialize the XML element.
node | The output XML element. |
obj | The object being deserialized. |
expectedType | The expected type from deserialization. |
Implemented in OpenTap.Plugins.DefaultValueSerializer, OpenTap.Plugins.ExternalParameterSerializer, OpenTap.Plugins.TestStepSerializer, OpenTap.Plugins.EventsSerializerPlugin, OpenTap.Plugins.InputOutputRelationSerializer, and OpenTap.TapSerializerPlugin.
OpenTAP 9.27 API built Wed Nov 27 2024 13:14:45