Header menu logo FSharp.Data

InferenceMode' Type

This is the internal DU representing all the valid cases we support, mapped from the public InferenceMode.

Union cases

Union case Description

NoInference

Full Usage: NoInference

ValuesAndInlineSchemasHints

Full Usage: ValuesAndInlineSchemasHints

ValuesAndInlineSchemasOverrides

Full Usage: ValuesAndInlineSchemasOverrides

ValuesOnly

Full Usage: ValuesOnly

Backward compatible mode.

Static members

Static member Description

InferenceMode'.FromPublicApi(inferenceMode, ?legacyInferTypesFromValues)

Full Usage: InferenceMode'.FromPublicApi(inferenceMode, ?legacyInferTypesFromValues)

Parameters:
    inferenceMode : InferenceMode
    ?legacyInferTypesFromValues : bool

Returns: InferenceMode'

Converts from the public api enum with backward compat to the internal representation with only valid cases. If the user sets InferenceMode manually (to a value other than BackwardCompatible) then the legacy InferTypesFromValues is ignored. Otherwise (when set to BackwardCompatible), inference mode is set to a compatible value.

inferenceMode : InferenceMode
?legacyInferTypesFromValues : bool
Returns: InferenceMode'

Type something to start searching.