AnonymousMethodParameter
Overview
The AnonymousMethodParameter class holds information about a parameter in an AnonymousMethodValue. The AnonymousParameterValue class can be used to point to a parameter from within the expression itself.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus.Values
Properties
Name
Parameter name; should be unique in the list of parameters for this anonymous method
property Name: String read write;
String Name { get; set; }
var Name: String { get{} set{} }
String Name { __get; __set; }
Property Name() As String
Type
Type of this anonymous method parameter; this does not have to be set, in those cases it is inferred
property Type: IType read write;
IType Type { get; set; }
var Type: IType { get{} set{} }
IType Type { __get; __set; }
Property Type() As IType
Instance Methods
constructor
Empty constructor
constructor
AnonymousMethodParameter()
init()
AnonymousMethodParameter()
Sub New()
constructor (String)
Initialize this with a name but without a type (the type is infered from the parameters of the parent expression)
constructor(aName: String)
AnonymousMethodParameter(String aName)
init(_ aName: String)
AnonymousMethodParameter(String aName)
Sub New(aName As String)
Parameters:
- aName: name of the method parameter
Initialize this with a name and a type
Parameters:
- aName: name of the method parameter
- aType: type of the method parameter