Constructor | Description |
Full Usage:
ProvidedMethod(methodName, parameters, returnType, ?invokeCode, ?isStatic)
Parameters:
string
parameters : ProvidedParameter list
returnType : Type
?invokeCode : Expr list -> Expr
?isStatic : bool
Returns: ProvidedMethod
|
When making a cross-targeting type provider, use this method instead of the ProvidedMethod constructor from ProvidedTypes
|
Instance member | Description |
|
|
Full Usage:
this.AddDefinitionLocation(line, column, filePath)
Parameters:
int
column : int
filePath : string
|
|
|
|
Full Usage:
this.AddObsoleteAttribute(message, ?isError)
Parameters:
string
?isError : bool
|
|
Full Usage:
this.AddXmlDoc(xmlDoc)
Parameters:
string
|
|
Full Usage:
this.AddXmlDocComputed(xmlDocFunction)
Parameters:
unit -> string
|
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.
|
Full Usage:
this.AddXmlDocDelayed(xmlDocFunction)
Parameters:
unit -> string
|
Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
|
Full Usage:
this.DefineStaticParameters(parameters, instantiationFunction)
Parameters:
ProvidedStaticParameter list
instantiationFunction : string -> obj[] -> ProvidedMethod
|
|
|
|