Table of Contents

Interface IXunitSerializable

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

This interface should be implemented by any custom object which requires serialization. In addition to implementing this interface, objects must also offer a parameterless public constructor so that an empty object can be created to be deserialized into.

public interface IXunitSerializable

Methods

Deserialize(IXunitSerializationInfo)

Called when the object should populate itself with data from the serialization info.

Serialize(IXunitSerializationInfo)

Called when the object should store its serialized values into the serialization info.