QLNet.VolatilityTermStructure.checkStrike C# (CSharp) Метод

checkStrike() защищенный Метод

protected checkStrike ( double strike, bool extrapolate ) : void
strike double
extrapolate bool
Результат void
        protected void checkStrike(double strike, bool extrapolate)
        {
            if (!(extrapolate || allowsExtrapolation() || (strike >= minStrike() && strike <= maxStrike())))
                throw new ApplicationException("strike (" + strike + ") is outside the curve domain ["
                                               + minStrike() + "," + maxStrike() + "]");
        }