Indicates that the name of the XML elements must be compared with case insensitivity.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public CustomXmlOptions IgnoreElementsNameCase { get; }
Visual Basic (Declaration)
Public ReadOnly Property IgnoreElementsNameCase As CustomXmlOptions

Examples

CopyC#
[Test]
public void MyXmlTest()
{
    string expected = "<ANIMAL>Peary Caribou</ANIMAL>"
    string actual = "<animal>Peary Caribou</animal>"
    Assert.Xml.AreEqual(expected, actual, XmlOptions.Custom.IgnoreElementsNameCase); // Pass!
}

See Also