ICommandParameterParserTryParse Method |
Tries to parse the specified inputText into the argument for this parser. The consumed text is
removed from the inputText.
Namespace:
SampSharp.Entities.SAMP.Commands.Parsers
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntaxbool TryParse(
IServiceProvider services,
ref string inputText,
out Object result
)
Parameters
- services
- Type: SystemIServiceProvider
A service provider. - inputText
- Type: SystemString
The input text to parse. - result
- Type: SystemObject
The parsed result.
Return Value
Type:
Booleantrue if the parameter could be parsed; otherwise
false.
See Also