Class MethodParameterSource
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
infoParameterInfoThe parameter information.
Properties
Info
Gets the parameter information.
public ParameterInfo Info { get; }
Property Value
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
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
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; }