@ArrayContains(values: any[]) Checks if array contains all values from the given array of values. 是否包含给定值数组中的所有值 @ArrayNotContains(values: any[]) Checks if array does not contain any of the given values. 是否不包含任何给定值 @ArrayNotEmpty() Checks if given array is not ...
Check also Validating plain objects.It also works with multi-dimensional array, like :import { ValidateNested } from '@nestjs/class-validator'; export class Plan2D { @ValidateNested() matrix: Point[][]; }Validating promisesIf your object contains property with Promise-returned value that should...
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...
Check also Validating plain objects.It also works with multi-dimensional array, like :import { ValidateNested } from 'class-validator'; export class Plan2D { @ValidateNested() matrix: Point[][]; }Validating promisesIf your object contains property with Promise-returned value that should be ...
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...
public final class Validator Validates user provided parameters are not null if they are required. Method Summary 展開資料表 Modifier and TypeMethod and Description static void validate(Object parameter) Validates a user provided required parameter to be not null. Methods inherited from java.lang...
Microsoft.SqlServer.SqlManagementObjects v160.2004021.0 The abstract class represents the base validator class later will be inheranted to different validators with different rules C# publicabstractclassValidator Inheritance Object Validator Constructors ...
Validator Constructors 展開表格 Validator(String) the base constructor Properties 展開表格 Name validator name Methods UpdateStatus(ValidatorEventArgs) Send validation progress event Validate(IExecutionPolicy, ScenarioValidatorHandler) If the optional delegate is passed, then it is called with the execution ...
The resetValidatoris not guaranteed to have the sameLSResourceResolverorErrorHandlerObjects, e.g.Object.equals(Object obj). It is guaranteed to have a functionally equalLSResourceResolverandErrorHandler. validate publicvoidvalidate(Sourcesource)throwsSAXException,IOException ...