Landis.Harvest.StandSpreading.ValidateTargetSize C# (CSharp) Method

ValidateTargetSize() public static method

public static ValidateTargetSize ( InputValue targetSize ) : void
targetSize InputValue
return void
        public static void ValidateTargetSize(InputValue<double> targetSize)
        {
            if (targetSize.Actual < 0)
                throw new InputValueException(targetSize.String,
                                              "Target harvest size cannot be negative");
        }
    }