FSharp.Data.GraphQL


ProvidedLiteralField

Namespace: ProviderImplementation.ProvidedTypes

Represents an erased provided field.

Constructors

ConstructorDescription
new(fieldName, fieldType, literalValue)
Signature: (fieldName:string * fieldType:Type * literalValue:obj) -> ProvidedLiteralField

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

CompiledName: .ctor

Instance members

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

Add definition location information to the provided field.

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

Add a 'Obsolete' attribute to this provided field

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

Add XML documentation information to this provided field

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

Add XML documentation information to this provided field, 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 field, where the computation of the documentation is delayed until necessary

Fork me on GitHub