CreateVariable(string,Yarn.IType,IConvertible,string)
Method in Declaration
Summary
Creates a new instance of the Declaration class, using the given name
and default value. The ReturnType
of the new instance will be configured based on the type of defaultValue
, and the DeclarationType
will be Type.Variable
. All other properties will be their default values.
Parameters
Returns
A new instance of the Declaration class.
Last updated