Click or drag to resize

PropertyInvalidExceptionValidateNotNaN Method (Double, String)

Validate that the given property value must not be NaN, and throw PropertyInvalidException if it is.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static void ValidateNotNaN(
	double value,
	string propertyName
)

Parameters

value
Type: SystemDouble
The property value.
propertyName
Type: SystemString
The name of the property.
Exceptions
ExceptionCondition
PropertyInvalidException Thrown if value is NaN.
See Also