Class RegisterXunitSerializerAttribute
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
Used to decorate xUnit.net test assemblies to register an external serializer for one or more supports types to serialize.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
public sealed class RegisterXunitSerializerAttribute : Attribute, IRegisterXunitSerializerAttribute
- Inheritance
-
RegisterXunitSerializerAttribute
- Implements
- Inherited Members
- Extension Methods
-
Xunit.Sdk.ReflectionExtensions.GetMatchingCustomAttributes(System.Attribute,System.String)Xunit.Sdk.ReflectionExtensions.GetMatchingCustomAttributes(System.Attribute,System.Type)
Constructors
- RegisterXunitSerializerAttribute(Type, params Type[])
Used to decorate xUnit.net test assemblies to register an external serializer for one or more supports types to serialize.
Properties
- SerializerType
Gets the type of the serializer.
- SupportedTypesForSerialization
Gets the types that are supported by the serializer.