IMemberDefinition

Overview

An interface to a member defined in the current project.

Location


 

FindContextType

Finds a type that is valid in the context of this method; this supports passing strings like "Array of System.String" and "System.Collections.Generic.List<class 0;> to create generic types. "method 0" is the first method generic parameter

 

method FindContextType(aFullname: String): IType

 

IType FindContextType(String aFullname)

 

func FindContextType(_ aFullname: String) -> IType

 

IType FindContextType(String aFullname)

 

Function FindContextType(aFullname As String) As IType

Parameters:

  • aFullname: type name

GetContextType

Same as FindContextType but will fail with an exception if it's not found

 

method GetContextType(aFullname: String): IType

 

IType GetContextType(String aFullname)

 

func GetContextType(_ aFullname: String) -> IType

 

IType GetContextType(String aFullname)

 

Function GetContextType(aFullname As String) As IType

Parameters:

  • aFullname: type name

GetOwnerTypeName

Returns the name of the owner type

 

method GetOwnerTypeName: String

 

String GetOwnerTypeName()

 

func GetOwnerTypeName() -> String

 

String GetOwnerTypeName()

 

Function GetOwnerTypeName() As String

IsPublished

 

property IsPublished: Boolean read;

 

Boolean IsPublished { get; }

 

var IsPublished: Boolean { get{} }

 

Boolean IsPublished { __get; }

 

ReadOnly Property IsPublished() As Boolean

Name

Gets or sets the name of this member

 

property Name: String read write;

 

String Name { get; set; }

 

var Name: String { get{} set{} }

 

String Name { __get; __set; }

 

Property Name() As String

Owner

Returns the owner type if this member

 

property Owner: ITypeDefinition read;

 

ITypeDefinition Owner { get; }

 

var Owner: ITypeDefinition { get{} }

 

ITypeDefinition Owner { __get; }

 

ReadOnly Property Owner() As ITypeDefinition

Static

Gets or sets if this method is static

 

property Static: Boolean read write;

 

Boolean Static { get; set; }

 

var Static: Boolean { get{} set{} }

 

Boolean Static { __get; __set; }

 

Property Static() As Boolean

Visibility

Gets or sets the visibility

 

property Visibility: Visibility read write;

 

Visibility Visibility { get; set; }

 

var Visibility: Visibility { get{} set{} }

 

Visibility Visibility { __get; __set; }

 

Property Visibility() As Visibility

 

IsPublished

 

property IsPublished: Boolean read;

 

Boolean IsPublished { get; }

 

var IsPublished: Boolean { get{} }

 

Boolean IsPublished { __get; }

 

ReadOnly Property IsPublished() As Boolean

Name

Gets or sets the name of this member

 

property Name: String read write;

 

String Name { get; set; }

 

var Name: String { get{} set{} }

 

String Name { __get; __set; }

 

Property Name() As String

Owner

Returns the owner type if this member

 

property Owner: ITypeDefinition read;

 

ITypeDefinition Owner { get; }

 

var Owner: ITypeDefinition { get{} }

 

ITypeDefinition Owner { __get; }

 

ReadOnly Property Owner() As ITypeDefinition

Static

Gets or sets if this method is static

 

property Static: Boolean read write;

 

Boolean Static { get; set; }

 

var Static: Boolean { get{} set{} }

 

Boolean Static { __get; __set; }

 

Property Static() As Boolean

Visibility

Gets or sets the visibility

 

property Visibility: Visibility read write;

 

Visibility Visibility { get; set; }

 

var Visibility: Visibility { get{} set{} }

 

Visibility Visibility { __get; __set; }

 

Property Visibility() As Visibility

 

FindContextType

Finds a type that is valid in the context of this method; this supports passing strings like "Array of System.String" and "System.Collections.Generic.List<class 0;> to create generic types. "method 0" is the first method generic parameter

 

method FindContextType(aFullname: String): IType

 

IType FindContextType(String aFullname)

 

func FindContextType(_ aFullname: String) -> IType

 

IType FindContextType(String aFullname)

 

Function FindContextType(aFullname As String) As IType

Parameters:

  • aFullname: type name

GetContextType

Same as FindContextType but will fail with an exception if it's not found

 

method GetContextType(aFullname: String): IType

 

IType GetContextType(String aFullname)

 

func GetContextType(_ aFullname: String) -> IType

 

IType GetContextType(String aFullname)

 

Function GetContextType(aFullname As String) As IType

Parameters:

  • aFullname: type name

GetOwnerTypeName

Returns the name of the owner type

 

method GetOwnerTypeName: String

 

String GetOwnerTypeName()

 

func GetOwnerTypeName() -> String

 

String GetOwnerTypeName()

 

Function GetOwnerTypeName() As String