Full interface representation of ValidationServices.

Hierarchy (view full)

Implemented by

Properties

dataTypeFormatterService: IDataTypeFormatterService

Service for formatting data types used within tokens of error messages using IDataTypeFormatter instances.

dataTypeParserService: IDataTypeParserService

Service for parsing strings into the native data type

autoGenerateDataTypeCheckService: IAutoGenerateDataTypeCheckService

Service that supports automatic generation of Conditions for the Data Type Check using IDataTypeCheckGenerator instances.

messageTokenResolverService: IMessageTokenResolverService

Service to get the IMessageTokenResolver instance that replaces tokens in messages.

validatorConfigMergeService: IValidatorConfigMergeService

Service to get the IValidatorConfigMergeService instance that determines how to merge Validator configurations from business logic and UI.

validatorFactory: IValidatorFactory

Factory for generating Validator.

loggerService: ILoggerService

Service to get the ILogger instance that replaces tokens in messages. Defaults to using the global defaultLoggerService

valueHostFactory: IValueHostFactory

Factory for generating classes that implement IValueHost that use ValueHostConfig.

cultureService: ICultureService

Service for identifying cultures that you will use in the app, by their CultureID ('en', 'en-US', 'en-GB', etc), and provides fallbacks for when a requested CultureID is not found.

conditionFactory: IConditionFactory

Factory to create Condition objects.

dataTypeIdentifierService: IDataTypeIdentifierService

Service for identifing the Data Type Lookup Key associated with a data type using IDataTypeIdentifier instances.

dataTypeConverterService: IDataTypeConverterService

Service for changing the original value into something that you want a condition to evaluate using IDataTypeConverter instances.

dataTypeComparerService: IDataTypeComparerService

Service for changing the comparing two values using IDataTypeComparer instances.

textLocalizerService: ITextLocalizerService

Service to text localization specific, effectively mapping a text key to a language specific version of that text. Error messages and IDataTypeFormatters use this.

lookupKeyFallbackService: ILookupKeyFallbackService

Service for creating a relationship between a lookup key and another that is the base data type it is built around. For example, LookupKey.Integer uses a number as the base data type. So it has a relationship with LookupKey.Number. This service keeps these relationships. The DataTypeFormatterService and DataTypeParserService consume this as they try to find the best fitting Formatter or Parser. So go ahead and assign your ValueHost.datatype to LookupKey.Integer. If there is no IntegerParser (there isn't), expect to be using the NumberParser.

valueHostConfigMergeService: IValueHostConfigMergeService

Service to get the IValueHostConfigMergeService instance that determines how to merge ValueHost configurations from business logic and UI.

managerConfigBuilderFactory: IManagerConfigBuilderFactory

Creates the ManagerConfigBuilder instances.

managerConfigModifierFactory: IManagerConfigModifierFactory

Creates the ManagerConfigModifier instances.

Methods

Generated using TypeDoc v0.25.12