Class ValidationManagerStartFluent

Starts a fluent chain. Its methods start InputValueHost (input()), StaticValueHost (static()), and a collection of Conditions (conditions()).

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

  • Start of a series to collect ConditionConfigs into any condition that implements EvaluateChildConditionResultsConfig. For example:

    let fluent = new ValueHostsManagerStartFluent(null);
    fluent.input('Field1').all(fluent.conditions().required('Field2').required('Field3'));

    The fluent function for allCondition (and others that support EvaluateChildConditionResultsConfig) will get a FluentConditionBuilder whose conditionConfigs collection is fully populated.

    Parameters

    • Optional config: ConditionWithChildrenBaseConfig

      When null/undefined, the instance is created and the caller is expected to retrieve its conditionConfigs from the config property. When assigned, that instance gets conditionConfigs populated and there is no need to get a value from configs property.

    Returns FluentConditionBuilder

Generated using TypeDoc v0.25.12