ResolverTests ResolveSpecialTypes Method Delta Engine Documentation

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

public void ResolveSpecialTypes()
Examples

[Test]
public void ResolveSpecialTypes()
{
    Assert.AreEqual(EntitiesRunner.Current, resolver.Resolve<EntitiesRunner>());
    Assert.AreEqual(GlobalTime.Current, resolver.Resolve<GlobalTime>());
    Assert.AreEqual(ScreenSpace.Current, resolver.Resolve<ScreenSpace>());
    Assert.AreEqual(Randomizer.Current, resolver.Resolve<Randomizer>());
}
See Also