Table of Contents

Method SerializedTypeNameToType

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

SerializedTypeNameToType(string)

Converts a type name (in "TypeName" format for mscorlib types, or "TypeName,AssemblyName" format for all others) into a Type object.

public static Type? SerializedTypeNameToType(string assemblyQualifiedTypeName)

Parameters

assemblyQualifiedTypeName string

The assembly qualified type name ("TypeName,AssemblyName")

Returns

Type

The instance of the Type, if available; null, otherwise.