Azure Storage Type Provider


ProvidedMethod

Namespace: ProviderImplementation.ProvidedTypes

Constructors

ConstructorDescription
new(methodName, parameters, returnType)
Signature: (methodName:string * parameters:ProvidedParameter list * returnType:Type) -> ProvidedMethod

Create a new provided method. It is not initially associated with any specific provided type definition.

CompiledName: .ctor

Instance members

Instance memberDescription
AddCustomAttribute(arg1)
Signature: CustomAttributeData -> unit

Add a custom attribute to the provided method definition.

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

Add definition location information to the provided type definition.

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

Add XML documentation information to this provided method

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 computation of the documentation is delayed until necessary 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

DefineStaticParameters(...)
Signature: (parameters:ProvidedStaticParameter list * instantiationFunction:(string -> obj [] -> ProvidedMethod)) -> unit

Define the static parameters available on a statically parameterized method

InvokeCode()
Signature: unit -> Expr list -> Expr

Set the quotation used to compute the implementation of invocations of this method.

CompiledName: set_InvokeCode

InvokeCode()
Signature: unit -> unit

Set the quotation used to compute the implementation of invocations of this method.

CompiledName: set_InvokeCode

IsStaticMethod()
Signature: unit -> bool

Get or set a flag indicating if the property is static.

CompiledName: set_IsStaticMethod

IsStaticMethod()
Signature: unit -> unit

Get or set a flag indicating if the property is static.

CompiledName: get_IsStaticMethod

SetMethodAttrs(attributes)
Signature: attributes:MethodAttributes -> unit

Set the method attributes of the method. By default these are simple 'MethodAttributes.Public'

Fork me on GitHub