TouchRotateTriggerTests Creation Method Delta Engine Documentation

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

public void Creation()
Examples

[Test, CloseAfterFirstFrame]
public void Creation()
{
    Assert.DoesNotThrow(() => new TouchRotateTrigger());
    Assert.Throws<TouchRotateTrigger.TouchRotateTriggerHasNoParameters>(
        () => new TouchRotateTrigger(new Dictionary<string, string> { { "Button", "Left" } }));
}
See Also