OpenTAP 9.25
API Reference
Public Member Functions | Static Protected Attributes | Properties | List of all members
OpenTap.TapSerializerPlugin Class Referenceabstract

Base class for OpenTAP Serializer plugins. Implement this in a public class to extend the TapSerializer with additional functionality. More...

Inheritance diagram for OpenTap.TapSerializerPlugin:
OpenTap.ITapSerializerPlugin OpenTap.ITapPlugin OpenTap.Plugins.DefaultValueSerializer OpenTap.Plugins.EventsSerializerPlugin OpenTap.Plugins.ExternalParameterSerializer OpenTap.Plugins.InputOutputRelationSerializer OpenTap.Plugins.TestStepSerializer

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.

 

Detailed Description

Base class for OpenTAP Serializer plugins. Implement this in a public class to extend the TapSerializer with additional functionality.

Member Function Documentation

◆ Deserialize()

abstract bool OpenTap.TapSerializerPlugin.Deserialize ( XElement  node,
ITypeData  t,
Action< object >  setter 
)
pure virtual

◆ Serialize()

abstract bool OpenTap.TapSerializerPlugin.Serialize ( XElement  node,
object  obj,
ITypeData  expectedType 
)
pure virtual

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:24