Export (0) Print
Expand All

CompilerServices.TypeProviderConfig Class (F#)

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 =
 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

Member

Description

new

Creates a new instance of TypeProviderConfig.

Member

Description

IsInvalidationSupported : bool

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

IsHostedExecution : bool

Indicates 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 : string

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

RuntimeAssembly : string

Gets the full path to actual referenced assembly that caused this type provider to load and instantiate.

TemporaryFolder : string

Gets the full path to use for temporary files for this instance of the provider.

SystemRuntimeAssemblyVersion : Version

Version of the referenced system runtime assembly.

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

F# Core Library Versions

Supported in: 4.0, Portable

Show:
© 2014 Microsoft