XmlAttributeTests ConstructorWithFloat 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 ConstructorWithFloat()
Examples

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