Qit


ProvidedEvent Type

Represents an erased provided property.

Constructors

Constructor Description

ProvidedEvent(eventName, eventHandlerType, adderCode, removerCode, ?isStatic)

Full Usage: ProvidedEvent(eventName, eventHandlerType, adderCode, removerCode, ?isStatic)

Parameters:
    eventName : string
    eventHandlerType : Type
    adderCode : Expr list -> Expr
    removerCode : Expr list -> Expr
    ?isStatic : bool

Returns: ProvidedEvent

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

eventName : string
eventHandlerType : Type
adderCode : Expr list -> Expr
removerCode : Expr list -> Expr
?isStatic : bool
Returns: ProvidedEvent

Instance members

Instance member Description

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.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 a flag indicating if the property is static.

Returns: bool