FsXaml


ProvidedField

Namespace: ProviderImplementation.ProvidedTypes

Represents an erased provided field.

Constructors

ConstructorDescription
new(fieldName, fieldType)
Signature: (fieldName:string * fieldType:Type) -> ProvidedField

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 definition.

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

SetFieldAttributes(attributes)
Signature: attributes:FieldAttributes -> unit
Fork me on GitHub