Class CleanUpStringParserBase<TOptions>Abstract

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

Type Parameters

Hierarchy (view full)

Constructors

Accessors

Methods

  • If 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.

    Returns void

  • 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.

    Parameters

    • dataTypeLookupKey: string
    • cultureId: string

    Returns boolean

Generated using TypeDoc v0.25.12