public void PanGestureGetPanGestureFromPtr() { tlog.Debug(tag, $"PanGestureGetPanGestureFromPtr START"); PanGesture a1 = new PanGesture(); PanGesture a2 = PanGesture.GetPanGestureFromPtr(PanGesture.getCPtr(a1).Handle); a1.Dispose(); tlog.Debug(tag, $"PanGestureGetPanGestureFromPtr END (OK)"); Assert.Pass("PanGestureGetPanGestureFromPtr"); }
public void PanGesturePosition() { tlog.Debug(tag, $"PanGesturePosition START"); PanGesture a1 = new PanGesture(); Vector2 v1 = a1.Position; a1.Dispose(); tlog.Debug(tag, $"PanGesturePosition END (OK)"); Assert.Pass("PanGesturePosition"); }
public void PanGestureDisplacement() { tlog.Debug(tag, $"PanGestureDisplacement START"); PanGesture a1 = new PanGesture(); Vector2 v1 = a1.Displacement; a1.Dispose(); tlog.Debug(tag, $"PanGestureDisplacement END (OK)"); Assert.Pass("PanGestureDisplacement"); }
public void PanGestureVelocity() { tlog.Debug(tag, $"PanGestureVelocity START"); PanGesture a1 = new PanGesture(); Vector2 v1 = a1.Velocity; a1.Dispose(); tlog.Debug(tag, $"PanGestureVelocity END (OK)"); Assert.Pass("PanGestureVelocity"); }
public void PanGestureGetSpeed() { tlog.Debug(tag, $"PanGestureGetSpeed START"); PanGesture a1 = new PanGesture(); float f1 = a1.GetSpeed(); a1.Dispose(); tlog.Debug(tag, $"PanGestureGetSpeed END (OK)"); Assert.Pass("PanGestureGetSpeed"); }
public void PanGestureGetScreenDistance() { tlog.Debug(tag, $"PanGestureGetScreenDistance START"); PanGesture a1 = new PanGesture(); float f1 = a1.GetScreenDistance(); a1.Dispose(); tlog.Debug(tag, $"PanGestureGetScreenDistance END (OK)"); Assert.Pass("PanGestureGetScreenDistance"); }
public void PanGestureNumberOfTouches() { tlog.Debug(tag, $"PanGestureNumberOfTouches START"); PanGesture a1 = new PanGesture(); uint b1 = a1.NumberOfTouches; a1.Dispose(); tlog.Debug(tag, $"PanGestureNumberOfTouches END (OK)"); Assert.Pass("PanGestureNumberOfTouches"); }
public void PanGesturegetCPtr() { tlog.Debug(tag, $"PanGesturegetCPtr START"); PanGesture a1 = new PanGesture(); global::System.Runtime.InteropServices.HandleRef ptr = PanGesture.getCPtr(a1); a1.Dispose(); tlog.Debug(tag, $"PanGesturegetCPtr END (OK)"); Assert.Pass("PanGestureCPtr"); }
public void PanGestureConstructor() { tlog.Debug(tag, $"PanGestureConstructor START"); PanGesture a1 = new PanGesture(); Gesture.StateType state = Gesture.StateType.Finished; PanGesture a2 = new PanGesture(state); a2.Dispose(); a1.Dispose(); tlog.Debug(tag, $"PanGestureConstructor END (OK)"); Assert.Pass("PanGestureConstructor"); }
public void PanGestureConstructorWithState() { tlog.Debug(tag, $"PanGestureConstructorWithState START"); var testingTarget = new PanGesture(Gesture.StateType.Finished); Assert.IsNotNull(testingTarget, "Can't create success object Hover"); Assert.IsInstanceOf <PanGesture>(testingTarget, "Should be an instance of PanGesture type."); testingTarget.Dispose(); tlog.Debug(tag, $"PanGestureConstructorWithState END (OK)"); Assert.Pass("PanGestureConstructor"); }
public void PanGestureGetScreenSpeed() { tlog.Debug(tag, $"PanGestureGetScreenSpeed START"); var testingTarget = new PanGesture(Gesture.StateType.Finished); Assert.IsNotNull(testingTarget, "Can't create success object Hover"); Assert.IsInstanceOf <PanGesture>(testingTarget, "Should be an instance of PanGesture type."); tlog.Debug(tag, "GetScreenSpeed : " + testingTarget.GetScreenSpeed()); testingTarget.Dispose(); tlog.Debug(tag, $"PanGestureGetScreenSpeed END (OK)"); Assert.Pass("PanGestureGetScreenSpeed"); }
public void PanGestureNumberOfTouches() { tlog.Debug(tag, $"PanGestureNumberOfTouches START"); var testingTarget = new PanGesture(Gesture.StateType.Finished); Assert.IsNotNull(testingTarget, "Can't create success object Hover"); Assert.IsInstanceOf <PanGesture>(testingTarget, "Should be an instance of PanGesture type."); tlog.Debug(tag, "NumberOfTouches : " + testingTarget.NumberOfTouches); testingTarget.Dispose(); tlog.Debug(tag, $"PanGestureNumberOfTouches END (OK)"); Assert.Pass("PanGestureNumberOfTouches"); }
void ReleaseDesignerOutlets() { if (Image != null) { Image.Dispose(); Image = null; } if (LongGesture != null) { LongGesture.Dispose(); LongGesture = null; } if (PanGesture != null) { PanGesture.Dispose(); PanGesture = null; } if (PinchGesture != null) { PinchGesture.Dispose(); PinchGesture = null; } if (RotacionGesture != null) { RotacionGesture.Dispose(); RotacionGesture = null; } if (TapGesture != null) { TapGesture.Dispose(); TapGesture = null; } }