Table of Contents

Class MethodParameterSource

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

Provides information about the origin of a parameter of a method.

public class MethodParameterSource
Inheritance
MethodParameterSource
Inherited Members

Constructors

MethodParameterSource(ParameterInfo)

Initializes a new instance of the MethodParameterSource class.

public MethodParameterSource(ParameterInfo info)

Parameters

info ParameterInfo

The parameter information.

Properties

Info

Gets the parameter information.

public ParameterInfo Info { get; }

Property Value

ParameterInfo

IsComponent

Gets or sets a value indicating whether this value of this parameter is a component which should be retrieved of the entity provided in the arguments array.

public bool IsComponent { get; set; }

Property Value

bool

IsService

Gets or sets a value indicating whether the value of this parameter is a service which should be retrieved from the service provider.

public bool IsService { get; set; }

Property Value

bool

ParameterIndex

The index in the arguments array which contains the value for this parameter. A value of -1 indicates this parameter is not supplied by the arguments array.

public int ParameterIndex { get; set; }

Property Value

int