Called before the value of a curve parameter is changed.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Protected Friend Overrides Sub OnParameterChanging ( _
	index As Integer, _
	value As Double _
)
C#
protected internal override void OnParameterChanging (
	int index,
	double value
)
C++
protected public:
virtual void OnParameterChanging (
	int index, 
	double value
) override

Parameters

index (System.Int32)
An integer specifying the index of the coefficient.
value (System.Double)
The value of the new coefficient.

Remarks

This method is called internally to ensure that the X values remain in ascending order.

Exceptions

ExceptionCondition
ArgumentException Setting the value to would cause the X values to no longer be in ascending order.