Creates a new InputValidationRules instance.

Namespace: Keystone.Clockwork
Assembly: Keystone.Clockwork (in Keystone.Clockwork.dll)

public static InputValidationRules CreateAsFollows( 
bool AggregateValidationResults
params BaseInputValidationRule[] validationRules 
)
This language is not supported or no code example is available.

Parameters

AggregateValidationResults

Type: bool

if set to true the validation results must be aggregated into a single AggregatedValidationException.

validationRules

Type: BaseInputValidationRule[]

The validation rules.

Return Value

The new InputValidationRules with the specified validation rules.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono