Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, Ignore] //ncrunch: no coverage start public void LoadWithoutBinaryDataExtensions() { var stream = BinaryDataExtensions.SaveToMemoryStream(button); button.Text = "Original"; var loadedButton = new Button(); loadedButton.LoadFromStream(stream); Assert.AreEqual(Center, loadedButton.DrawArea); Assert.AreEqual("Click Me", loadedButton.Text); loadedButton.DrawArea = loadedButton.DrawArea.Move(new Vector2D(0.0f, 0.2f)); }
See Also