Size Length Property Delta Engine Documentation

Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public float Length { get; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Tests.Datatypes.SizeTests
Examples

1 unit tests call DeltaEngine.Datatypes.Size.Length
[Test]
public void Length()
{
    Assert.AreEqual(3, new Size(0, 3).Length);
    Assert.AreEqual(3, new Size(3, 0).Length);
    Assert.AreEqual(5, new Size(3, 4).Length);
}
See Also