Class AssemblyMetadata
Represents metadata about an assembly.
public class AssemblyMetadata
- Inheritance
-
AssemblyMetadata
- Inherited Members
Constructors
AssemblyMetadata(int, string?)
Initializes a new instance of the AssemblyMetadata class.
public AssemblyMetadata(int xunitVersion, string? targetFramework)
Parameters
xunitVersionintThe xUnit.net version (0 = unknown, or 1/2/3)
targetFrameworkstringThe target framework
Properties
TargetFrameworkIdentifier
Gets the target framework identifier the assembly was built against.
public TargetFrameworkIdentifier TargetFrameworkIdentifier { get; }
Property Value
TargetFrameworkVersion
Gets the version of the target framework identifier that the assembly was built against.
public Version TargetFrameworkVersion { get; }
Property Value
XunitVersion
Gets the major version of xUnit.net this assembly targets (1, 2, or 3); may return a value
of 0 if the version is unknown.
public int XunitVersion { get; }