[]
Represents the parameter of a function.
public class Parameter
Initializes an instance of a parameter.
public Parameter(FunctionValueType valueType)
valueType FunctionValueTypeThe value type of the parameter.
Initializes an instance of a parameter.
public Parameter(FunctionValueType valueType, bool acceptReference)
valueType FunctionValueTypeThe value type of the parameter.
acceptReference boolIf this parameter can accept reference.
Initializes an instance of a parameter.
public Parameter(FunctionValueType valueType, bool acceptReference, bool acceptCustomObjects)
valueType FunctionValueTypeThe value type of the parameter.
acceptReference boolIf this parameter can accept reference.
acceptCustomObjects boolAccepts custom objects if value type is Object.
Initializes an instance of a parameter.
public Parameter(FunctionValueType valueType, object defaultValue)
valueType FunctionValueTypeThe value type of the parameter.
defaultValue objectThe default value of the parameter.
Initializes an instance of a parameter.
public Parameter(FunctionValueType valueType, object defaultValue, bool acceptReference)
valueType FunctionValueTypeThe value type of the parameter.
defaultValue objectThe default value of the parameter.
acceptReference boolIf this parameter can accept reference.
Initializes an instance of a parameter.
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue)
name stringThe name of the parameter.
description stringThe description of the parameter.
valueType FunctionValueTypeThe value type of the parameter.
defaultValue objectThe default value of the parameter.
Initializes an instance of a parameter.
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference)
name stringThe name of the function.
description stringThe description of the parameter.
valueType FunctionValueTypeThe value type of the parameter.
defaultValue objectThe default value of the parameter.
acceptReference boolIf this parameter can accept reference.
Initializes an instance of a parameter.
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference, bool acceptCustomObjects)
name stringThe name of the function.
description stringThe description of the parameter.
valueType FunctionValueTypeThe value type of the parameter.
defaultValue objectThe default value of the parameter.
acceptReference boolIf this parameter can accept reference.
acceptCustomObjects boolAccepts custom objects if value type is Object.
Accepts custom objects if value type is Object.
public bool AcceptCustomObjects { get; }
if the parameter can accept reference.
public bool AcceptReference { get; }
Gets the default value of the parameter.
public object DefaultValue { get; }
Gets the description of the parameter.
public string Description { get; }
Gets the name of the parameter.
public string Name { get; }
Gets the value type of the parameter.
public FunctionValueType ValueType { get; }