Click or drag to resize

CommandParameterInfo Constructor

Initializes a new instance of the CommandParameterInfo class.

Namespace:  SampSharp.Entities.SAMP.Commands
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public CommandParameterInfo(
	string name,
	ICommandParameterParser parser,
	bool isRequired,
	Object defaultValue,
	int parameterIndex
)

Parameters

name
Type: SystemString
The name.
parser
Type: SampSharp.Entities.SAMP.Commands.ParsersICommandParameterParser
The parser.
isRequired
Type: SystemBoolean
If set to true the parameter is required.
defaultValue
Type: SystemObject
The default value of this parameter
parameterIndex
Type: SystemInt32
Index of the parameter.
See Also