Table of contents
Collapse the table of content
Expand the table of content

CompilerServices.TypeProviderConfig Class (F#)

Den Delimarsky|Last Updated: 8/18/2017
1 Contributor

Provides additional customization options for a type provider implementation. If the class that implements ITypeProvider has a constructor that accepts TypeProviderConfig, it will be constructed with an instance of TypeProviderConfig.

Namespace/Module Path: Microsoft.FSharp.Core.CompilerServices

Assembly: FSharp.Core (in FSharp.Core.dll)


type [TypeProviderConfig]( =
new TypeProviderConfig : string * string * string [] * string -> TypeProviderConfig
member this.ReferencedAssemblies : string []
member this.ResolutionFolder : string
member this.RuntimeAssembly : string
member this.TemporaryFolder : string


newCreates a new instance of TypeProviderConfig.

Instance Members

IsInvalidationSupported : boolIndicates whether the type provider host responds to invalidation events for type provider instances.
IsHostedExecution : boolIndicates whether the type provider instance is used in an environment which executes provided code such as F# Interactive.
ReferencedAssemblies : string []Gets the set of referenced assemblies for the provider.
ResolutionFolder : stringGets the full path to use to resolve relative paths in any file name arguments given to the provider.
RuntimeAssembly : stringGets the full path to actual referenced assembly that caused this type provider to load and instantiate.
TemporaryFolder : stringGets the full path to use for temporary files for this instance of the provider.
SystemRuntimeAssemblyVersion : System.VersionVersion of the referenced system runtime assembly.


Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Microsoft.FSharp.Core.CompilerServices Namespace (F#)

© 2020 Microsoft