FSharp.Data.Toolbox


ProvidedProperty Type

Represents an erased provided property.

Constructors

Constructor Description

ProvidedProperty(propertyName, propertyType, ?getterCode, ?setterCode, ?isStatic, ?indexParameters)

Full Usage: ProvidedProperty(propertyName, propertyType, ?getterCode, ?setterCode, ?isStatic, ?indexParameters)

Parameters:
Returns: ProvidedProperty

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

propertyName : string
propertyType : Type
?getterCode : Expr list -> Expr
?setterCode : Expr list -> Expr
?isStatic : bool
?indexParameters : ProvidedParameter list
Returns: ProvidedProperty

Instance members

Instance member Description

this.AddCustomAttribute(arg1)

Full Usage: this.AddCustomAttribute(arg1)

Parameters:

Add a custom attribute to the provided property definition.

arg0 : CustomAttributeData

this.AddDefinitionLocation(line, column, filePath)

Full Usage: this.AddDefinitionLocation(line, column, filePath)

Parameters:
    line : int
    column : int
    filePath : string

Add definition location information to the provided type definition.

line : int
column : int
filePath : string

this.AddObsoleteAttribute(message, ?isError)

Full Usage: this.AddObsoleteAttribute(message, ?isError)

Parameters:
    message : string
    ?isError : bool

Add a 'Obsolete' attribute to this provided property

message : string
?isError : bool

this.AddXmlDoc(xmlDoc)

Full Usage: this.AddXmlDoc(xmlDoc)

Parameters:
    xmlDoc : string

Add XML documentation information to this provided constructor

xmlDoc : string

this.AddXmlDocComputed(xmlDocFunction)

Full Usage: this.AddXmlDocComputed(xmlDocFunction)

Parameters:
    xmlDocFunction : 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.

xmlDocFunction : unit -> string

this.AddXmlDocDelayed(xmlDocFunction)

Full Usage: this.AddXmlDocDelayed(xmlDocFunction)

Parameters:
    xmlDocFunction : unit -> string

Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary

xmlDocFunction : unit -> string

this.IsStatic

Full Usage: this.IsStatic

Returns: bool

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

Returns: bool