Header menu logo FSharp.Core

TypeProviderConfig Type

If the class that implements ITypeProvider has a constructor that accepts TypeProviderConfig then it will be constructed with an instance of TypeProviderConfig.

Constructors

Constructor Description

TypeProviderConfig(systemRuntimeContainsType, getReferencedAssemblies)

Full Usage: TypeProviderConfig(systemRuntimeContainsType, getReferencedAssemblies)

Parameters:
Returns: TypeProviderConfig

Create a configuration which calls the given functions for the corresponding operation.

systemRuntimeContainsType : string -> bool
getReferencedAssemblies : unit -> string array
Returns: TypeProviderConfig

TypeProviderConfig(systemRuntimeContainsType)

Full Usage: TypeProviderConfig(systemRuntimeContainsType)

Parameters:
Returns: TypeProviderConfig

Create a configuration which calls the given function for the corresponding operation.

systemRuntimeContainsType : string -> bool
Returns: TypeProviderConfig

Instance members

Instance member Description

this.IsHostedExecution

Full Usage: this.IsHostedExecution

Indicates if the type provider instance is used in an environment which executes provided code such as F# Interactive.

this.IsInvalidationSupported

Full Usage: this.IsInvalidationSupported

Indicates if the type provider host responds to invalidation events for type provider instances.

this.ReferencedAssemblies

Full Usage: this.ReferencedAssemblies

Get the referenced assemblies for the type provider instance.

this.ResolutionFolder

Full Usage: this.ResolutionFolder

Get the full path to use to resolve relative paths in any file name arguments given to the type provider instance.

this.RuntimeAssembly

Full Usage: this.RuntimeAssembly

Get the full path to referenced assembly that caused this type provider instance to be created.

this.SystemRuntimeAssemblyVersion

Full Usage: this.SystemRuntimeAssemblyVersion

version of referenced system runtime assembly

this.SystemRuntimeContainsType

Full Usage: this.SystemRuntimeContainsType

Parameters:
Returns: bool

Checks if given type exists in target system runtime library

arg0 : string
Returns: bool

this.TemporaryFolder

Full Usage: this.TemporaryFolder

Get the full path to use for temporary files for the type provider instance.

Type something to start searching.