NXUnit Framework Class Library

XMLInput Class

[This is preliminary documentation and subject to change.]

The standard form of input of XMLAssert.
You can use XMLInput objects as parameters of almost all assertions and comparisions declared in XMLAssert.

In fact, every assertion or comparision in XMLAssert has 7 method signatures, they are about:
* string parameters
* string parameters with message
* TextReader parameters
* TextReader parameters with message
* Stream parameters
* Stream parameters with message
* XMLInput parameters with message
And the former 6 ones actually turn their parameters to XMLInput(s) and invoke the last one.

Note   This class may not be instantiated, but may be further subclassed.

For a list of all members of this type, see XMLInput Members.

System.Object
   NXUnit.Framework.XMLInput

public class XMLInput

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

See NXUnit.Framework.Tests.XMLInputTest in file {nxunit_home}/test/XMLInputTest.cs

Requirements

Namespace: NXUnit.Framework

Assembly: NXUnit.Framework (in NXUnit.Framework.dll)

See Also

XMLInput Members | NXUnit.Framework Namespace | XMLAssert