Show / Hide Table of Contents

Enum TypeValidationFlags

Flags to alter the way the DynValue.CheckType and other related functions operate on data types for validation.

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public enum TypeValidationFlags

AllowNil

Nil and Void values are allowed (and returned by the call)

AutoConvert

Simple autoconversions are attempted: 1) Numbers are convertible to strings 2) Strings are convertible to numbers if they contain a number 3) Everything is convertible to boolean (with void and nil converting to 'false', everything else converting to 'true') Note: if both AutoConvert and AllowNil are specified, nils will NOT be converted to false booleans.

Default

The default : Autoconverting values, no nils.

None

No type validation specific behaviour

Back to top Built by Itinero, MIT licensed.