ElasticsearchTypeProvider


ProvidedConstructor

Namespace: ProviderImplementation.ProvidedTypes

Represents an erased provided constructor.

Constructors

ConstructorDescription
new(parameters, invokeCode)
Signature: (parameters:ProvidedParameter list * invokeCode:(Expr list -> Expr)) -> ProvidedConstructor

When making a cross-targeting type provider, use this method instead of the ProvidedConstructor constructor from ProvidedTypes

CompiledName: .ctor

Instance members

Instance memberDescription
AddDefinitionLocation(...)
Signature: (line:int * column:int * filePath:string) -> unit

Add definition location information to the provided constructor.

AddObsoleteAttribute(message, isError)
Signature: (message:string * isError:bool option) -> unit

Add a 'Obsolete' attribute to this provided constructor

AddXmlDoc(xmlDoc)
Signature: xmlDoc:string -> unit

Add XML documentation information to this provided constructor

AddXmlDocComputed(xmlDocFunction)
Signature: (xmlDocFunction:(unit -> string)) -> unit

Add XML documentation information to this provided constructor, where the documentation is re-computed every time it is required.

AddXmlDocDelayed(xmlDocFunction)
Signature: (xmlDocFunction:(unit -> string)) -> unit

Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary

BaseConstructorCall()
Signature: unit -> Expr list -> ConstructorInfo * Expr list

Set the target and arguments of the base constructor call. Only used for generated types.

CompiledName: set_BaseConstructorCall

BaseConstructorCall()
Signature: unit -> unit

Set the target and arguments of the base constructor call. Only used for generated types.

CompiledName: set_BaseConstructorCall

IsImplicitConstructor()
Signature: unit -> bool

Set a flag indicating that the constructor acts like an F# implicit constructor, so the parameters of the constructor become fields and can be accessed using Expr.GlobalVar with the same name.

CompiledName: set_IsImplicitConstructor

IsImplicitConstructor()
Signature: unit -> unit

Set a flag indicating that the constructor acts like an F# implicit constructor, so the parameters of the constructor become fields and can be accessed using Expr.GlobalVar with the same name.

CompiledName: get_IsImplicitConstructor

IsTypeInitializer()
Signature: unit -> bool

CompiledName: set_IsTypeInitializer

IsTypeInitializer()
Signature: unit -> unit

CompiledName: get_IsTypeInitializer

Fork me on GitHub