Table of Contents

Interface ICommandParameterParserFactory

Namespace
SampSharp.Entities.SAMP.Commands
Assembly
SampSharp.OpenMp.Entities.Commands.dll

Factory for creating command parameter parsers. Can be extended to support custom parameter types.

public interface ICommandParameterParserFactory

Methods

CreateParser(ParameterInfo[], int)

Creates a parser for the parameter at the given index, or null if the parameter should be treated as DI.

ICommandParameterParser? CreateParser(ParameterInfo[] parameters, int index)

Parameters

parameters ParameterInfo[]
index int

Returns

ICommandParameterParser