Ctor.
Namespace: Breeze.SharpAssembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
public RequiredValidator(
Nullable<bool> treatEmptyStringAsNull = null
)
Public Sub New (
Optional treatEmptyStringAsNull As Nullable(Of Boolean) = Nothing
)
public:
RequiredValidator(
Nullable<bool> treatEmptyStringAsNull = nullptr
)
new :
?treatEmptyStringAsNull : Nullable<bool>
(* Defaults:
let _treatEmptyStringAsNull = defaultArg treatEmptyStringAsNull null
*)
-> RequiredValidator
Parameters
- treatEmptyStringAsNull (Optional)
- Type: SystemNullableBoolean
Whether to treat empty string as null. If not set, then the static
DefaultTreatEmptyStringAsNull is used instead.
Reference