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-local+709673996c0cc3c0733358a87691d1009326afa7
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