EntitiesRunnerTests ActivateEntity Method Delta Engine Documentation

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

public void ActivateEntity()
Examples

[Test]
public void ActivateEntity()
{
    var entity = new MockEntity { IsActive = false };
    entity.IsActive = true;
    Assert.AreEqual(1, EntitiesRunner.Current.NumberOfEntities);
}
See Also