@IsNotIn(values: any[]) Checks if value is not in a array of disallowed values. 检查值是否不在不允许的值数组中 类型验证装饰器 修饰器描述(英文)描述(中文) @IsBoolean() Checks if a value is a boolean. 是否为布尔值 @IsDate() Checks if the value is a date. 是否为日期 @IsString()...
Deno port of class-validator. Contribute to bigdig/class-validator-deno development by creating an account on GitHub.
Please note that nested object must be an instance of a class, otherwise @ValidateNested won't know what class is target of validation. Check also Validating plain objects.It also works with multi-dimensional array, like :import { ValidateNested } from 'class-validator'; export class Plan2D ...
String-type# String# Array# Object# Other#
Reset() Reset this Validator to its original configuration. SetFeature(String, Boolean) Set the value of a feature flag. SetHandle(IntPtr, JniHandleOwnership) Sets the Handle property. (Inherited from Object) SetProperty(String, Object) Set the value of a property. ToArray<T>() (Inherited...
Use the CompareValidator control to compare the value entered by the user in an input control, such as a TextBox control, with the value entered in another input control or a constant value. The CompareValidator control passes validation if the value of the input control matches the criteria ...
Description 'Esri ObjectClassValidator object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True Reu...
RegisterValidatorDeclaration() Registers an ECMAScript array declaration using the array name Page_Validators. (Inherited from BaseValidator) RemovedControl(Control) Called after a child control is removed from the Controls collection of the Control object. (Inherited from Control) Render(HtmlTextWri...
Several of the rules can be set to "FirstDependency", which means the value of the first parameter found in the parameter dependency array set will be used withparameter.parameterDependencies. In the code example below, parameter 2 has two dependent parameters, 0 and 1, and the first dependen...
ValidatorCollection Class Reference Feedback Definition Namespace: System.Web.UI Assembly: System.Web.dll Exposes an array of IValidator references. This class cannot be inherited. C# Copy public sealed class ValidatorCollection : System.Collections.ICollection Inheritance Object ValidatorCollection ...