AutoArrangingMenuTests CreateNewMenuWithContentName Method Delta Engine Documentation

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

public void CreateNewMenuWithContentName()
Examples

[Test]
public void CreateNewMenuWithContentName()
{
    AutoArrangingMenu menuByName = ContentLoader.Load<MenuXml>("TestMenuXml");
    Assert.AreEqual(menuByName.Name, "TestMenuXml");
}
See Also