FSharp.Data.GraphQL


ProvidedProperty

Namespace: ProviderImplementation.ProvidedTypes

Represents an erased provided property.

Constructors

ConstructorDescription
new(...)
Signature: (propertyName:string * propertyType:Type * parameters:ProvidedParameter list option) -> ProvidedProperty

Create a new provided property. 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 property definition.

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

Add definition location information to the provided type definition.

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

Add a 'Obsolete' attribute to this provided property

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

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

Set the quotation used to compute the implementation of gets of this property.

CompiledName: set_GetterCode

GetterCode()
Signature: unit -> unit

Set the quotation used to compute the implementation of gets of this property.

CompiledName: set_GetterCode

IsStatic()
Signature: unit -> bool

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

CompiledName: set_IsStatic

IsStatic()
Signature: unit -> unit

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

CompiledName: get_IsStatic

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

Set the function used to compute the implementation of sets of this property.

CompiledName: set_SetterCode

SetterCode()
Signature: unit -> unit

Set the function used to compute the implementation of sets of this property.

CompiledName: set_SetterCode

Fork me on GitHub