38 references to Validations
System.Windows.Input.Manipulations (38)
System\Windows\Input\Manipulations\InertiaExpansionBehavior2D.cs (5)
93Validations.CheckFiniteNonNegative(value, desiredDecelerationName); 134Validations.CheckFiniteNonNegative(value, desiredExpansionXName); 175Validations.CheckFiniteNonNegative(value, desiredExpansionYName); 209Validations.CheckFinite(value, initialVelocityXName); 243Validations.CheckFinite(value, initialVelocityYName);
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (2)
1099Validations.CheckFinite(value, paramName); 1275Debug.Assert(Validations.IsFinite((float)result));
System\Windows\Input\Manipulations\InertiaRotationBehavior2D.cs (3)
46Validations.CheckFiniteNonNegative(value, desiredDecelerationName); 89Validations.CheckFiniteNonNegative(value, desiredRotationName); 117Validations.CheckFinite(value, initialVelocityName);
System\Windows\Input\Manipulations\InertiaTranslationBehavior2D.cs (4)
47Validations.CheckFiniteNonNegative(value, desiredDecelerationName); 84Validations.CheckFiniteNonNegative(value, desiredDisplacementName); 112Validations.CheckFinite(value, initialVelocityXName); 140Validations.CheckFinite(value, initialVelocityYName);
System\Windows\Input\Manipulations\Manipulation2DCompletedEventArgs.cs (2)
38Debug.Assert(Validations.IsFinite(originX), "originX should be finite"); 39Debug.Assert(Validations.IsFinite(originY), "originY should be finite");
System\Windows\Input\Manipulations\Manipulation2DDeltaEventArgs.cs (2)
41Debug.Assert(Validations.IsFinite(originX), "originX should be finite"); 42Debug.Assert(Validations.IsFinite(originY), "originY should be finite");
System\Windows\Input\Manipulations\Manipulation2DStartedEventArgs.cs (2)
42Debug.Assert(Validations.IsFinite(originX)); 43Debug.Assert(Validations.IsFinite(originY));
System\Windows\Input\Manipulations\ManipulationDelta2D.cs (7)
105Debug.Assert(Validations.IsFinite(translationX), "translationX should be finite"); 106Debug.Assert(Validations.IsFinite(translationY), "translationY should be finite"); 107Debug.Assert(Validations.IsFinite(rotation), "rotation should be finite"); 108Debug.Assert(Validations.IsFiniteNonNegative(scaleX), "scaleX should be finite and not negative"); 109Debug.Assert(Validations.IsFiniteNonNegative(scaleY), "scaleY should be finite and not negative"); 110Debug.Assert(Validations.IsFinite(expansionX), "expansionX should be finite"); 111Debug.Assert(Validations.IsFinite(expansionY), "expansionY should be finite");
System\Windows\Input\Manipulations\ManipulationPivot2D.cs (2)
74Validations.CheckFiniteOrNaN(value, "X"); 91Validations.CheckFiniteOrNaN(value, "Y");
System\Windows\Input\Manipulations\ManipulationProcessor2D.cs (1)
156Validations.CheckFiniteNonNegative(value, "MinimumScaleRotateRadius");
System\Windows\Input\Manipulations\ManipulationVelocities2D.cs (4)
86Debug.Assert(Validations.IsFinite(linearVelocityX)); 87Debug.Assert(Validations.IsFinite(linearVelocityY)); 88Debug.Assert(Validations.IsFinite(angularVelocity)); 89Debug.Assert(Validations.IsFinite(expansionVelocity));
System\Windows\Input\Manipulations\Manipulator2D.cs (4)
90Validations.CheckFinite(x, "x"); 91Validations.CheckFinite(y, "y"); 133Validations.CheckFinite(value, "X"); 156Validations.CheckFinite(value, "Y");