Bagikan melalui


CompilerServices.TypeProviderAssemblyAttribute Class (F#)

Places an attribute on a runtime assembly to indicate that a corresponding design-time assembly contains a type provider. The runtime and the designer assembly may be the same.

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

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

[<AttributeUsage(1, AllowMultiple = false)>]
type TypeProviderAssemblyAttribute =
 class
  new TypeProviderAssemblyAttribute : string -> TypeProviderAssemblyAttribute
  new TypeProviderAssemblyAttribute : unit -> TypeProviderAssemblyAttribute
  member this.AssemblyName : string
 end

Remarks

You can also use the short form of the name, TypeProviderAssembly.

Constructors

Member

Description

new

Creates an instance of the attribute

Instance Members

Member

Description

AssemblyName : string

Specifies the name of the design-time assembly for this type provider.

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

Reference

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