Table of Contents

Class Transform

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

Represents a single report transformation from XML.

public class Transform
Inheritance
Transform
Inherited Members

Constructors

Transform(string, string, Action<XElement, string>)

Represents a single report transformation from XML.

public Transform(string id, string description, Action<XElement, string> outputHandler)

Parameters

id string

The transform ID

description string

The transform description

outputHandler Action<XElement, string>

The handler which will write the v2 XML to the given file

Properties

Description

Gets description of the transformation. Suitable for displaying to end users.

public string Description { get; }

Property Value

string

ID

Gets the transform ID.

public string ID { get; }

Property Value

string

OutputHandler

Gets the output handler for the transformation. Converts XML to a file on the file system.

public Action<XElement, string> OutputHandler { get; }

Property Value

Action<XElement, string>