Class ValueHostsManagerStartFluent

Starts a fluent chain for ValueHostsManager. Its methods start CalcValueHost (calc()), and StaticValueHost (static())

Hierarchy (view full)

Implements

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

  • Add Value Host that does not have direct supporting functions here. This targets ValueHosts without validators. Use the withValidators() function for those.

    Type Parameters

    Parameters

    • valueHostType: string
    • arg1: string | FluentAnyValueHostConfig<T>

      either the ValueHost name or a ValueHostConfig. When ValueHostConfig, omit the remaining parameters.

    • Optional arg2: null | string | FluentAnyValueHostParameters<T>

      optional and can be null. The value for ValueHost.dataType or any additional properties of ValueHostConfig.

    • Optional arg3: FluentAnyValueHostParameters<T>

      optional. Any additional properties of a ValueHostConfig.

    Returns T

    Completed ValueHostConfig of type T

  • Returns true if the arg is a plain Javascript Object. Returns false if not any type of object. Throws an error it is an object but not a plain one.

    Parameters

    • arg: any

    Returns boolean

  • 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