Class ParameterSymbol
Represents a parameter of a function exposed by a MuLang environment.
public sealed class ParameterSymbol
- Inheritance
-
ParameterSymbol
- Inherited Members
Constructors
ParameterSymbol(string, TypeSymbol)
Initializes a new instance of the ParameterSymbol class.
public ParameterSymbol(string name, TypeSymbol type)
Parameters
namestringThe language name.
typeTypeSymbolThe type.
Exceptions
- ArgumentNullException
Thrown when
typeisnull.- ArgumentException
Thrown when a symbol value is invalid.
Properties
Name
Gets the parameter name.
public string Name { get; }
Property Value
Type
Gets the parameter type.
public TypeSymbol Type { get; }