Click or drag to resize
DigitalRuneGlobalSettingsValidationLevel Property
Gets or sets the validation level for all DigitalRune libraries, used to enable additional input validation and other checks.

Namespace: DigitalRune
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static int ValidationLevel { get; set; }

Property Value

Type: Int32
The validation level for all DigitalRune libraries.
Remarks

The default validation level for release builds is 0. Setting a validation level greater than 0, enables additional checks in the DigitalRune libraries, e.g. more detailed input validation. These checks are usually turned off (using ValidationLevel = 0) to avoid a performance impact in release builds. During development and for debugging, validation can be enabled. Set ValidationLevel to 0xff (=255) to enable all checks which are relevant for DigitalRune customers. Validation levels > 255 are reserved for internal development.

See Also