FsXaml


TypeProviderForNamespaces

Namespace: ProviderImplementation.ProvidedTypes

A base type providing default implementations of type provider functionality when all provided types are of type ProvidedTypeDefinition.

Constructors

ConstructorDescription
new()
Signature: unit -> TypeProviderForNamespaces

Initializes a type provider

CompiledName: .ctor

new(namespaceName, types)
Signature: (namespaceName:string * types:ProvidedTypeDefinition list) -> TypeProviderForNamespaces

Initializes a type provider to provide the types in the given namespace.

CompiledName: .ctor

Instance members

Instance memberDescription
add_Disposing(arg1)
Signature: EventHandler -> unit
AddNamespace(namespaceName, types)
Signature: (namespaceName:string * types:ProvidedTypeDefinition list) -> unit

Invoked by the type provider to add a namespace of provided types in the specification of the type provider.

ApplyStaticArgumentsForMethod(...)
Signature: (MethodBase * string * obj []) -> MethodBase

Invoked by the host of the type provider to apply the static argumetns for a method.

Disposing
Signature: IEvent<EventHandler,EventArgs>

CompiledName: get_Disposing

GetStaticParametersForMethod(arg1)
Signature: MethodBase -> ParameterInfo []

Invoked by the host of the type provider to get the static parameters for a method.

Invalidate()
Signature: unit -> unit

Invoked by the type provider to invalidate the information provided by the provider

Namespaces
Signature: seq<string * ProvidedTypeDefinition list>

Invoked by the type provider to get all provided namespaces with their provided types.

CompiledName: get_Namespaces

RegisterProbingFolder(folder)
Signature: folder:string -> unit

Registers custom probing path that can be used for probing assemblies

RegisterRuntimeAssemblyLocationAsProbingFolder(...)
Signature: config:TypeProviderConfig -> unit

Registers location of RuntimeAssembly (from TypeProviderConfig) as probing folder

remove_Disposing(arg1)
Signature: EventHandler -> unit
ResolveAssembly(arg1)
Signature: ResolveEventArgs -> Assembly
Modifiers: abstract

AssemblyResolve handler. Default implementation searches .dll file in registered folders

Fork me on GitHub