OpenTAP 9.25
API Reference
|
Base class for OpenTAP Serializer plugins. Implement this in a public class to extend the TapSerializer with additional functionality. More...
Public Member Functions | |
TapSerializerPlugin () | |
Creates a new TapSerializerPlugin. | |
abstract bool | Deserialize (XElement node, ITypeData t, Action< object > setter) |
Implement to deserialize an object. More... | |
abstract bool | Serialize (XElement node, object obj, ITypeData expectedType) |
Implement to serialize an object. More... | |
Static Protected Attributes | |
static TraceSource | Log = OpenTap.Log.CreateSource("Serializer") |
Log source for serializer plugins. | |
Properties | |
TapSerializer | Serializer [get] |
The object facilitating Serialization or Deserialization. | |
virtual double | Order [get] |
Priority of the serializer. Defines the order in which the serializers are used. Default is 0. | |
Properties inherited from OpenTap.ITapSerializerPlugin | |
double | Order [get] |
Priority of the serializer. Defines the order in which the serializers are used. Default is 0. | |
Base class for OpenTAP Serializer plugins. Implement this in a public class to extend the TapSerializer with additional functionality.
|
pure virtual |
Implement to deserialize an object.
node | |
t | |
setter |
Implements OpenTap.ITapSerializerPlugin.
Implemented in OpenTap.Plugins.TestStepSerializer, OpenTap.Plugins.ExternalParameterSerializer, OpenTap.Plugins.DefaultValueSerializer, OpenTap.Plugins.EventsSerializerPlugin, and OpenTap.Plugins.InputOutputRelationSerializer.
|
pure virtual |
Implement to serialize an object.
node | |
obj | |
expectedType |
Implements OpenTap.ITapSerializerPlugin.
Implemented in OpenTap.Plugins.DefaultValueSerializer, OpenTap.Plugins.ExternalParameterSerializer, OpenTap.Plugins.TestStepSerializer, OpenTap.Plugins.EventsSerializerPlugin, and OpenTap.Plugins.InputOutputRelationSerializer.
OpenTAP 9.25 API built Tue Aug 6 2024 07:49:24