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.

Instance members

Instance member Description

this.IsNoInference

Full Usage: this.IsNoInference

Returns: bool
Returns: bool

this.IsValuesAndInlineSchemasHints

Full Usage: this.IsValuesAndInlineSchemasHints

Returns: bool
Returns: bool

this.IsValuesAndInlineSchemasOverrides

Full Usage: this.IsValuesAndInlineSchemasOverrides

Returns: bool
Returns: bool

this.IsValuesOnly

Full Usage: this.IsValuesOnly

Returns: bool
Returns: bool

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.