Header menu logo FSharp.Data

InferenceMode Type

This is the public inference mode enum used when initializing a type provider, with backward compatibility.

Record fields

Record Field Description

BackwardCompatible

Full Usage: BackwardCompatible

Field type: InferenceMode
Modifiers: static

Used as a default value for backward compatibility with the legacy InferTypesFromValues boolean static parameter. The actual behaviour will depend on whether InferTypesFromValues is set to true (default) or false.

Field type: InferenceMode

NoInference

Full Usage: NoInference

Field type: InferenceMode
Modifiers: static

Type everything as strings (or the most basic type possible for the value when it's not string, e.g. for json numbers or booleans).

Field type: InferenceMode

ValuesAndInlineSchemasHints

Full Usage: ValuesAndInlineSchemasHints

Field type: InferenceMode
Modifiers: static

Inline schemas types have the same weight as value infered types.

Field type: InferenceMode

ValuesAndInlineSchemasOverrides

Full Usage: ValuesAndInlineSchemasOverrides

Field type: InferenceMode
Modifiers: static

Inline schemas types override value infered types. (Value infered types are ignored if an inline schema is present)

Field type: InferenceMode

ValuesOnly

Full Usage: ValuesOnly

Field type: InferenceMode
Modifiers: static

Infer types from values only. Inline schemas are disabled.

Field type: InferenceMode

Type something to start searching.