Click or drag to resize

HideFieldAttribute Constructor (String, Single, Single)

Constructor for float evaluations with custom error

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public HideFieldAttribute(
	string conditionalSourceField,
	float desiredFloat,
	float allowableFloatingPointError
)

Parameters

conditionalSourceField
Type: SystemString
The name of the field whose value will be evaluated into a true or false
desiredFloat
Type: SystemSingle
The float value to compare against
allowableFloatingPointError
Type: SystemSingle
The amount of error in either direction you will allow when comparing floats
See Also