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

CompilerServices.TypeProviderConfig Class (F#)

Den Delimarsky|Last Updated: 7/5/2016
|
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)

Syntax

type [TypeProviderConfig](https://msdn.microsoft.com/library/1cda7b9a-3d07-475d-9315-d65e1c97eb44) =
class
new TypeProviderConfig : string * string * string [] * string -> TypeProviderConfig
member this.ReferencedAssemblies : string []
member this.ResolutionFolder : string
member this.RuntimeAssembly : string
member this.TemporaryFolder : string
end

Constructors

MemberDescription
newCreates a new instance of TypeProviderConfig.

Instance Members

MemberDescription
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.

Platforms

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#)

© 2016 Microsoft