Megosztás a következőn keresztül:


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

Instance Members

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.

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