XmlAttributeTests ConstructorWithObject Method Delta Engine Documentation

Namespace: DeltaEngine.Content.Xml.Tests
Assembly: DeltaEngine.Content.Xml.Tests (in DeltaEngine.Content.Xml.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ConstructorWithObject()
Examples

[Test]
public void ConstructorWithObject()
{
    var attribute = new XmlAttribute("name", DayOfWeek.Friday);
    Assert.AreEqual("name", attribute.Name);
    Assert.AreEqual("Friday", attribute.Value);
}
See Also