ElasticsearchTypeProvider


ProvidedTypesContext

Namespace: ProviderImplementation.ProvidedTypes

Represents the context for which code is to be generated. Normally you should not need to use this directly.

Instance members

Instance memberDescription
ConvertSourceExprToTarget(arg1)
Signature: Expr -> Expr

Returns a quotation rebuilt with resepct to the types from the target referenced assemblies. Normally this method should not be used directly when authoring a type provider.

ConvertSourceTypeToTarget(arg1)
Signature: Type -> Type

Returns a type from the referenced assemblies that corresponds to the given design-time type. Normally this method should not be used directly when authoring a type provider.

ConvertTargetTypeToSource(arg1)
Signature: Type -> Type

Returns the design-time type that corresponds to the given type from the target referenced assemblies. Normally this method should not be used directly when authoring a type provider.

FSharpCoreAssemblyVersion
Signature: Version

Try to get the version of FSharp.Core referenced. May raise an exception if FSharp.Core has not been correctly resolved

CompiledName: get_FSharpCoreAssemblyVersion

GetSourceAssemblies()
Signature: unit -> Assembly []

Get the set of design-time assemblies available to use as a basis for authoring provided types

GetTargetAssemblies()
Signature: unit -> Assembly []

Get the resolved referenced assemblies determined by the type provider configuration

ReadRelatedAssembly(bytes)
Signature: (bytes:byte []) -> Assembly

Read the assembly related to this context

ReadRelatedAssembly(fileName)
Signature: fileName:string -> Assembly

Read the assembly related to this context

ReferencedAssemblyPaths
Signature: string list

Get the list of referenced assemblies determined by the type provider configuration

CompiledName: get_ReferencedAssemblyPaths

TryBindAssemblyNameToTarget(aref)
Signature: aref:AssemblyName -> Choice<Assembly,exn>

Try to find the given target assembly in the context

TryBindSimpleAssemblyNameToTarget(...)
Signature: assemblyName:string -> Choice<Assembly,exn>

Try to find the given target assembly in the context

Fork me on GitHub