Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CompilerServices.IProvidedNamespace Interface (F#)

CompilerServices.IProvidedNamespace Interface (F#)

Represents a namespace generated by a type provider.

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

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

type IProvidedNamespace =
  abstract this.GetNestedNamespaces : unit -> IProvidedNamespace []
  abstract this.GetTypes : unit -> Type []
  abstract this.ResolveTypeName : string -> Type
  abstract this.NamespaceName : string



GetNestedNamespaces : unit -> IProvidedNamespace []

The sub-namespaces in this namespace. An optional member to prevent generation of namespaces until an outer namespace is explored.

GetTypes : unit -> T:System.Type []

The top-level types.

NamespaceName : string

Namespace name the provider injects types into.

ResolveTypeName : string -> T:System.Type

Compilers call this method to query a type provider for a type.

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

F# Core Library Versions

Supported in: 4.0, Portable

© 2015 Microsoft