Abstract
Protected
optionsServices accessor. Note: Not passed into the constructor because this object should be created before ValidationServices itself. So it gets assigned when ValidationService.dataTypeFormatterService is assigned a value.
Provides access to services.
Protected
hasProtected
assertIf the user needs to abandon this instance, they should use this to clean up active resources (like timers) and to release memory that would stall the garbage collector from disposing this object. It should assign any object reference to undefined as a strong indicator that the object has been disposed.
Since there can be several parsers for a single lookupKey and cultureID that are selected based on the text, this function is used when you want all possible candidates. It is effectively supports() without the text.
Handles trimming and returning the emptyStringResult if that's what it has. Otherwise, it lets the child class work on the text.
Such as 'en-US' and 'en'
Protected
applyProtected
initProtected
defaultProtected
cleanProtected
parseCalled from parse to handle the text, knowing it is not an empty string and has been trimmed.
Generated using TypeDoc v0.25.12
Abstract implementation for Resulting value is a string that has been cleaned up based on the properties. Create unique LookupKeys for each variant and register them in DataTypeParserServer. Culture is not used here. Features found amongst its properties: replace whitespace with character, convert case, remove extra whitespace (2 or more back-to-back), strip characters regex