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