Method SafeName
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
SafeName(Type)
Gets a fully qualified type name (i.e., FullName), falling back to a simple
type name (i.e., Name) when a fully qualified name is not available. Typically
used when presenting type names to the user, or to guarantee the type name is never null.
public static string SafeName(this Type type)
Parameters
typeType