Namespace: DeltaEngine.Commands
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Commands.CommandTests
2 unit tests call DeltaEngine.Commands.Command.IsPauseable
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: BooleanRemarks
Examples
[Test] public void CommandIsNotPausable() { Assert.IsFalse(new Command(() => { }).IsPauseable); }
[Test] public void InvokeOnTrigger() { customTrigger = new MockTrigger(); customTrigger.Invoked = () => { customTrigger.UpdatePriority = Priority.Normal; }; customTrigger.Invoke(); Assert.AreEqual(customTrigger.UpdatePriority, Priority.Normal); Assert.IsFalse(customTrigger.IsPauseable); }
See Also