Qit


ProvidedProperty Type

Represents an erased provided property.

Constructors

Constructor Description

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

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

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
?pattrs : MethodAttributes
Returns: ProvidedProperty

Instance members

Instance member Description

this.AddCustomAttribute

Full Usage: this.AddCustomAttribute

Parameters:

Add a custom attribute to the provided property definition.

arg0 : CustomAttributeData

this.AddDefinitionLocation

Full Usage: this.AddDefinitionLocation

Parameters:
    line : int
    column : int
    filePath : string

Add definition location information to the provided type definition.

line : int
column : int
filePath : string

this.AddObsoleteAttribute

Full Usage: this.AddObsoleteAttribute

Parameters:
    message : string
    ?isError : bool

Add a 'Obsolete' attribute to this provided property

message : string
?isError : bool

this.AddXmlDoc

Full Usage: this.AddXmlDoc

Parameters:
    xmlDoc : string

Add XML documentation information to this provided constructor

xmlDoc : string

this.AddXmlDocComputed

Full Usage: this.AddXmlDocComputed

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

Full Usage: this.AddXmlDocDelayed

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