App ClassDelta Engine Documentation
Initializes the GLFW2 resolver and the window to get started. To execute the app call Run. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms App

Namespace: DeltaEngine.Platforms
Assemblies:  DeltaEngine.WindowsES11 (in DeltaEngine.WindowsES11.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsES20 (in DeltaEngine.WindowsES20.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsGLFW2 (in DeltaEngine.WindowsGLFW2.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsGLFW3 (in DeltaEngine.WindowsGLFW3.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsOpenGL (in DeltaEngine.WindowsOpenGL.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsOpenTK11 (in DeltaEngine.WindowsOpenTK11.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsOpenTK20 (in DeltaEngine.WindowsOpenTK20.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsSharpDX (in DeltaEngine.WindowsSharpDX.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsSlimDX (in DeltaEngine.WindowsSlimDX.dll) Version: 1.1.1.0 (1.1.1)
  DeltaEngine.WindowsXna (in DeltaEngine.WindowsXna.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public abstract class App

The App type exposes the following members.

Constructors

  NameDescription
Protected methodApp 
Initializes a new instance of the App class
Protected methodApp(Window)
Initializes a new instance of the App class
Top
Methods

  NameDescription
Protected methodResolve T 
Protected methodRun
Top
Remarks

Tests: DeltaEngine.Platforms.Tests.AppRunnerTests
Examples

2 unit tests call DeltaEngine.Platforms.App
[Test]
public void CheckDefaultContentLoader()
{
    CreateResolver();
    Assert.AreEqual(typeof(DeveloperOnlineContentLoader), ContentLoader.Type);
}
[Test]
public void CheckExplicitlySetContentLoader()
{
    ContentLoader.Use<DiskContentLoader>();
    CreateResolver();
    Assert.AreEqual(typeof(DiskContentLoader), ContentLoader.Type);
    ContentLoader.DisposeIfInitialized();
}
See Also