Constructor RegisterXunitSerializerAttribute
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
RegisterXunitSerializerAttribute(Type, params Type[])
Used to decorate xUnit.net test assemblies to register an external serializer for one or more supports types to serialize.
public RegisterXunitSerializerAttribute(Type serializerType, params Type[] supportedTypesForSerialization)
Parameters
serializerTypeTypeThe type of the serializer. Must implement IXunitSerializer.
supportedTypesForSerializationType[]The types that are supported by the serializer.