Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 =
 interface
  abstract this.GetNestedNamespaces : unit -> IProvidedNamespace []
  abstract this.GetTypes : unit -> Type []
  abstract this.ResolveTypeName : string -> Type
  abstract this.NamespaceName : string
 end

Member

Description

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.