Table of Contents

Class DefaultCommandParameterParserFactory

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

Default implementation that creates parsers for standard types.

public class DefaultCommandParameterParserFactory : ICommandParameterParserFactory
Inheritance
DefaultCommandParameterParserFactory
Implements
Inherited Members

Constructors

DefaultCommandParameterParserFactory()

public DefaultCommandParameterParserFactory()

Methods

CreateParser(ParameterInfo[], int)

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

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

Parameters

parameters ParameterInfo[]
index int

Returns

ICommandParameterParser